Ignore:
Timestamp:
Aug 7, 2006, 4:34:19 PM (15 years ago)
Author:
Eugene Romanenko
Message:

font substitution fixes, fixed missed 'Page' in NLS-file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Lucide/SOURCE/plugins/lujpeg/lujpeg.cpp

    r35 r94  
     1
     2/*
     3 *  This file was generated by the SOM Compiler.
     4 *  Generated using:
     5 *     SOM incremental update: 2.24
     6 */
     7
     8
    19/* ***** BEGIN LICENSE BLOCK *****
    210 * Version: CDDL 1.0/LGPL 2.1
     
    3543
    3644/*
    37  *  This file was generated by the SOM Compiler.
    38  *  Generated using:
    39  *     SOM incremental update: 2.24
    40  */
    41 
    42 /*
    4345 *  This file was generated by the SOM Compiler and Emitter Framework.
    4446 *  Generated using template emitter:
     
    5860#include <string.h>
    5961#include <jpeglib.h>
     62
    6063
    6164
     
    154157}
    155158
     159
    156160SOM_Scope short  SOMLINK getBpp(LuJpegDocument *somSelf,  Environment *ev)
    157161{
    158162    return 3;
    159163}
     164
    160165
    161166SOM_Scope long  SOMLINK getPageCount(LuJpegDocument *somSelf,
     
    164169    return 1;
    165170}
     171
    166172
    167173SOM_Scope void  SOMLINK getPageSize(LuJpegDocument *somSelf,
     
    179185    }
    180186}
     187
    181188
    182189SOM_Scope void  SOMLINK renderPageToPixbuf(LuJpegDocument *somSelf,
     
    207214        memcpy( dst, src, src_width * bpp );
    208215    }
    209     //long len = __min( pixbuf->getDataLen(ev), d->pb->getDataLen(ev) );
    210     //memcpy( pixbuf->getDataPtr(ev), d->pb->getDataPtr(ev), len );
    211 }
     216}
     217
    212218
    213219SOM_Scope void SOMLINK somDefaultInit(LuJpegDocument *somSelf,
     
    238244    JpegDocument *d = (JpegDocument *)somThis->data;
    239245    if ( d->pb != NULL ) {
    240             delete d->pb;
    241         }
     246        delete d->pb;
     247    }
    242248    delete d;
    243249    // end of local LuJpegDocument deinitialization code
Note: See TracChangeset for help on using the changeset viewer.