Ignore:
Timestamp:
Aug 13, 2006, 10:29:52 AM (15 years ago)
Author:
Eugene Romanenko
Message:

Internationalize 'embedded' values

File:
1 edited

Legend:

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

    r95 r99  
    801801
    802802        // embedded
    803         char *e = NULL;
    804803        if ( info->getEmbedded() ) {
    805804            if ( info->getSubset() ) {
    806                 e = "Embedded subset";
     805                fonts->_buffer[i].embedded = LU_FONTEMBED_EMBEDDED_SUBSET;
    807806            } else {
    808                 e = "Embedded";
     807                fonts->_buffer[i].embedded = LU_FONTEMBED_EMBEDDED;
    809808            }
    810809        } else {
    811             e = "Not embedded";
    812         }
    813         fonts->_buffer[i].embedded = somstrdup( e );
    814 
     810            fonts->_buffer[i].embedded = LU_FONTEMBED_NOT_EMBEDDED;
     811        }
    815812    }
    816813
Note: See TracChangeset for help on using the changeset viewer.