Changeset 253
- Timestamp:
- Jul 1, 2008, 8:43:38 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Lucide/SOURCE/plugins/lupoppler/lupoppler.cpp ¶
r251 r253 101 101 extern "C" char * EXPENTRY getDescription() 102 102 { 103 return "PDF plugin, based on poppler library v0.8. 3";103 return "PDF plugin, based on poppler library v0.8.4"; 104 104 } 105 105 -
TabularUnified trunk/Lucide/changelog ¶
r251 r253 1 1 1.XX: 2 - PDF plugin: Poppler (pdf rendering) library updated to version 0.8. 3.2 - PDF plugin: Poppler (pdf rendering) library updated to version 0.8.4. 3 3 - PDF plugin: freetype library updated to version 2.3.7. 4 4 -
TabularUnified trunk/poppler/mypoppler/poppler/ABWOutputDev.cc ¶
r250 r253 254 254 } 255 255 } 256 delete[] stt; 257 delete[] end; 256 258 return gap; 257 259 } -
TabularUnified trunk/poppler/mypoppler/poppler/CairoOutputDev.cc ¶
r250 r253 75 75 //------------------------------------------------------------------------ 76 76 77 // We cannot tie the lifetime of an FT_Library object to that of 78 // CairoOutputDev, since any FT_Faces created with it may end up with a 79 // reference by Cairo which can be held long after the CairoOutputDev is 80 // deleted. The simplest way to avoid problems is to never tear down the 81 // FT_Library instance; to avoid leaks, just use a single global instance 82 // initialized the first time it is needed. 83 FT_Library CairoOutputDev::ft_lib; 84 GBool CairoOutputDev::ft_lib_initialized = gFalse; 85 77 86 CairoOutputDev::CairoOutputDev() { 78 87 xref = NULL; 79 88 80 FT_Init_FreeType(&ft_lib); 89 if (!ft_lib_initialized) { 90 FT_Init_FreeType(&ft_lib); 91 ft_lib_initialized = gTrue; 92 } 93 81 94 fontEngine = NULL; 82 95 glyphs = NULL; … … 103 116 delete fontEngine; 104 117 } 105 FT_Done_FreeType(ft_lib); 106 118 107 119 if (cairo) 108 120 cairo_destroy (cairo); -
TabularUnified trunk/poppler/mypoppler/poppler/CairoOutputDev.h ¶
r250 r253 207 207 XRef *xref; // xref table for current document 208 208 209 FT_Library ft_lib; 209 static FT_Library ft_lib; 210 static GBool ft_lib_initialized; 211 210 212 CairoFontEngine *fontEngine; 211 213 cairo_t *cairo; -
TabularUnified trunk/poppler/mypoppler/poppler/XRef.cc ¶
r250 r253 428 428 entry.gen = obj.getInt(); 429 429 entry.obj.initNull (); 430 entry.updated = false; 430 431 obj.free(); 431 432 parser->getObj(&obj);
Note:
See TracChangeset
for help on using the changeset viewer.