ChangeLog 89 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724
  1. 2011-06-24 Werner Lemberg <[email protected]>
  2. * Version 2.4.5 released.
  3. =========================
  4. Tag sources with `VER-2-4-5'.
  5. * docs/CHANGES: Updated.
  6. * docs/VERSION.DLL: Update documentation and bump version number to
  7. 2.4.5
  8. * README, Jamfile (RefDoc),
  9. builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
  10. builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
  11. builds/win32/vc2010/freetype.vcxproj, builds/win32/vc2010/index.html,
  12. builds/win32/visualc/freetype.dsp,
  13. builds/win32/visualc/freetype.vcproj,
  14. builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
  15. builds/win32/visualce/freetype.vcproj,
  16. builds/win32/visualce/index.html,
  17. builds/wince/vc2005-ce/freetype.vcproj,
  18. builds/wince/vc2005-ce/index.html,
  19. builds/wince/vc2008-ce/freetype.vcproj,
  20. builds/wince/vc2008-ce/index.html: s/2.4.4/2.4.5/, s/244/245/.
  21. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 5.
  22. * builds/unix/configure.raw (version_info): Set to 13:0:7.
  23. 2011-06-20 Werner Lemberg <[email protected]>
  24. * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Fix change
  25. from 2011-05-04.
  26. 2011-06-19 suzuki toshiya <[email protected]>
  27. [gxvalid] make the `prop' validation tracing verbose.
  28. * src/gxvalid/gxvprop.c: Add tracing messages for errors.
  29. 2011-06-19 suzuki toshiya <[email protected]>
  30. [autogen.sh] Reflect environment variable LIBTOOLIZE.
  31. 2011-06-18 Werner Lemberg <[email protected]>
  32. Update license documentation.
  33. * docs/GPL.TXT: Renamed to...
  34. * docs/GPLv2.TXT: This.
  35. * docs/LICENSE.TXT: Updated.
  36. 2011-06-14 suzuki toshiya <[email protected]>
  37. Fix g++4.6 compiler warnings in module drivers.
  38. The background is same with previous commit.
  39. * src/truetype/ttgxvar.c (ft_var_readpackedpoints):
  40. Init `points'. (TT_Vary_Get_Glyph_Deltas): Init
  41. `delta_xy'. (TT_Get_MM_Var): Init `mmvar'.
  42. * src/type1/t1load.c (T1_Get_MM_Var): Ditto.
  43. * src/cff/cffdrivr.c (cff_ps_get_font_info): Init
  44. `font_info'.
  45. * src/cff/cffload.c (cff_index_get_pointers): Init `t'.
  46. (cff_font_load): Init `sub'.
  47. * src/cff/cffobjs.c (cff_size_init): Init `internal'.
  48. (cff_face_init): Init `cff'.
  49. * src/pfr/pfrload.c (pfr_extra_item_load_stem_snaps):
  50. Init `snaps'.
  51. * src/pcf/pcfread.c (pcf_get_properties): Init `properties'.
  52. (pcf_get_bitmaps): Init `offsets'. (pcf_get_encodings):
  53. Init `tmpEncoding'.
  54. * src/sfnt/ttload.c (tt_face_load_gasp): Init `gaspranges'.
  55. * src/sfnt/ttsbit.c (Load_SBit_Image): Init `components'.
  56. * src/cache/ftcmru.c (FTC_MruList_New): Init `node'.
  57. * src/gzip/ftgzip.c (FT_Stream_OpenGzip): Init `zip' and
  58. `zip_buff'.
  59. * src/lzw/ftlzw.c (FT_Stream_OpenLZW): Init `zip'.
  60. * src/bzip2/ftbzip2.c (FT_Stream_OpenBzip2): Init `zip'.
  61. 2011-06-14 suzuki toshiya <[email protected]>
  62. [base] Fix g++4.6 compiler warnings in src/base/*.c.
  63. Passing uninitialized pointer to FT_NEW() families is
  64. not problematic theoretically (as far as the returned
  65. pointer is checked before writing), but g++4.6 dislikes
  66. it and warns by -Wuninitialized. Initialize them by NULL.
  67. * src/base/ftobjs.c (FT_Stream_New): Init `stream'.
  68. (new_memory_stream): Ditto.
  69. (FT_New_GlyphSlot): Init `slot'.
  70. (FT_CMap_New): Init `cmap'.
  71. (open_face_PS_from_sfnt_stream): Init `sfnt_ps'.
  72. (Mac_Read_POST_Resource): Init `pfb_data'.
  73. (Mac_Read_sfnt_Resource): Init `sfnt_data'.
  74. * src/base/ftrfork.c (FT_Raccess_Get_DataOffsets):
  75. Init `offsets_internal' and `ref'.
  76. (raccess_guess_darwin_hfsplus): Init `newpath'.
  77. (raccess_guess_darwin_newvfs): Ditto.
  78. * src/base/ftbitmap.c (ft_bitmap_assure_buffer):
  79. Init `buffer'.
  80. * src/base/ftstroke.c (FT_Stroker_New): Init `stroker'.
  81. 2011-06-14 suzuki toshiya <[email protected]>
  82. [gxvalid] Cleanup.
  83. Some invalid, overrunning, unrecommended non-zero values
  84. are cared in paranoid validation mode only. There are
  85. many lines looking like:
  86. if ( valid->root->level >= FT_VALIDATE_PARANOID )
  87. FT_INVALID_xxx;
  88. To simplify them, GXV_SET_ERR_IF_PARANOID( err ) is
  89. introduced for more paranoid validation in future.
  90. * src/gxvalid/gxvcommn.h (IS_PARANOID_VALIDATION):
  91. New macro to assure valid->root->level is more or
  92. equal to FT_VALIDATE_PARANOID. (GXV_SET_ERR_IF_PARANOID):
  93. New macro to raise an error if in paranoid validation.
  94. * src/gxvalid/gxvcommn.c: Use GXV_SET_ERR_IF_PARANOID().
  95. * src/gxvalid/gxvfeat.c: Ditto.
  96. * src/gxvalid/gxvjust.c: Ditto.
  97. * src/gxvalid/gxvkern.c: Ditto.
  98. * src/gxvalid/gxvmort.c: Ditto.
  99. * src/gxvalid/gxvmort0.c: Ditto.
  100. * src/gxvalid/gxvmort1.c: Ditto.
  101. * src/gxvalid/gxvmort2.c: Ditto.
  102. * src/gxvalid/gxvmorx1.c: Ditto.
  103. * src/gxvalid/gxvmorx2.c: Ditto.
  104. 2011-06-14 suzuki toshiya <[email protected]>
  105. [gxvalid] Fix gcc4.6 compiler warnings in gxvtrak.c.
  106. * src/gxvalid/gxvtrak.c (gxv_trak_trackTable_validate):
  107. Check different entries pointing same traking value.
  108. (gxv_trak_validate): Remove unused variable `table_size'.
  109. 2011-06-14 suzuki toshiya <[email protected]>
  110. [gxvalid] Fix gcc4.6 compiler warnings in gxvmorx*.c.
  111. * src/gxvalid/gxvmorx.c (gxv_morx_subtables_validate):
  112. Conditionalize unvalidated variable `subFeatureFlags'.
  113. (gxv_morx_chain_validate): Conditionalize unvalidated
  114. variable `defaultFlags'.
  115. * src/gxvalid/gxmorx0.c
  116. (gxv_morx_subtable_type0_entry_validate):
  117. Conditionalize unvalidated variables; `markFirst',
  118. `dontAdvance', `markLast', `verb'.
  119. * src/gxvalid/gxmorx1.c
  120. (gxv_morx_subtable_type1_entry_validate): Conditionalize
  121. unvalidated variables; `setMark', `dontAdvance'.
  122. * src/gxvalid/gxvmorx2.c
  123. (gxv_morx_subtable_type2_ligActionOffset_validate):
  124. Conditionalize unvalidated variables; `last', `store'.
  125. Checking for overrunning offset is added.
  126. (gxv_morx_subtable_type2_entry_validate):
  127. Conditionalize unvalidated variables; `setComponent',
  128. `dontAdvance', `performAction'.
  129. (gxv_morx_subtable_type2_ligatureTable_validate):
  130. Check if the GID for ligature does not exceed the
  131. max GID in `maxp' table.
  132. * src/gxvalid/gxvmort5.c
  133. (gxv_morx_subtable_type5_InsertList_validate):
  134. Conditionalize unvalidated loading of `insert_glyphID'
  135. array. (gxv_morx_subtable_type5_entry_validate):
  136. Conditionalize unvalidated variables; `setMark',
  137. `dontAdvance', `currentIsKashidaLike',
  138. `markedIsKashidaLike', `currentInsertBefore',
  139. `markedInsertBefore'.
  140. 2011-06-14 suzuki toshiya <[email protected]>
  141. [gxvalid] Fix gcc4.6 compiler warnings in gxvmort*.c.
  142. * src/gxvalid/gxvmort.c (gxv_mort_subtables_validate):
  143. Conditionalize unvalidated variable `subFeatureFlags'.
  144. (gxv_mort_chain_validate): Conditionalize unvalidated
  145. variable `defaultFlags'.
  146. * src/gxvalid/gxmort0.c
  147. (gxv_mort_subtable_type0_entry_validate): Check the
  148. conflict of the marks for the glyphs.
  149. * src/gxvalid/gxmort1.c
  150. (gxv_mort_subtable_type1_offset_to_subst_validate):
  151. Local variables `min_gid', `max_gid' are replaced by
  152. variables in the validator.
  153. (gxv_mort_subtable_type1_entry_validate): Conditionalize
  154. unvalidated variables; `setMark', `dontAdvance'.
  155. (gxv_mort_subtable_type1_substTable_validate):
  156. Validate the GID by the min/max GIDs in the validator.
  157. * src/gxvalid/gxvmort2.c
  158. (gxv_mort_subtable_type2_ligActionOffset_validate):
  159. Conditionalize unvalidated variables; `last', `store'.
  160. Checking for overrunning offset is added.
  161. (gxv_mort_subtable_type2_entry_validate):
  162. Conditionalize unvalidated variables; `setComponent',
  163. `dontAdvance'.
  164. (gxv_mort_subtable_type2_ligatureTable_validate):
  165. Check if the GID for ligature does not exceed the
  166. max GID in `maxp' table.
  167. * src/gxvalid/gxvmort5.c
  168. (gxv_mort_subtable_type5_InsertList_validate):
  169. Conditionalize unvalidated loading of `insert_glyphID'
  170. array. (gxv_mort_subtable_type5_entry_validate):
  171. Conditionalize unvalidated variables; `setMark',
  172. `dontAdvance', `currentIsKashidaLike',
  173. `markedIsKashidaLike', `currentInsertBefore',
  174. `markedInsertBefore'.
  175. 2011-06-14 suzuki toshiya <[email protected]>
  176. [gxvalid] Fix gcc4.6 compiler warnings in gxvkern.c.
  177. * src/gxvalid/gxvkern.c
  178. (gxv_kern_subtable_fmt0_pairs_validate): Conditionalize
  179. unvalidated variable `kernValue'.
  180. (gxv_kern_subtable_fmt1_entry_validate): Conditionalize
  181. unvalidated variables; `push', `dontAdvance', `kernAction',
  182. `kernValue'.
  183. (gxv_kern_coverage_new_apple_validate): Conditionalize
  184. trace-only variables; `kernVertical', `kernCrossStream',
  185. `kernVariation'.
  186. (gxv_kern_coverage_classic_apple_validate): Conditionalize
  187. trace-only variables; `horizontal', `cross_stream'.
  188. (gxv_kern_coverage_classic_microsoft_validate):
  189. Conditionalize trace-only variables; `horizontal',
  190. `minimum', `cross_stream', `override'.
  191. (gxv_kern_subtable_validate): Conditionalize trace-only
  192. variables; `version', `tupleIndex'.
  193. 2011-06-14 suzuki toshiya <[email protected]>
  194. [gxvalid] Fix gcc4.6 compiler warnings in gxvjust.c.
  195. * src/gxvalid/gxvjust.c (gxv_just_check_max_gid):
  196. New function to unify the checks of too large GID.
  197. (gxv_just_wdp_entry_validate): Conditionalize unvalidated
  198. variables; `beforeGrowLimit', `beforeShrinkGrowLimit',
  199. `afterGrowLimit', `afterShrinkGrowLimit', `growFlags',
  200. `shrinkFlags'. Additional check for non-zero values in
  201. unused storage `justClass' is added.
  202. (gxv_just_actSubrecord_type0_validate): Conditionalize
  203. unvalidated variable `order'. GID is checked by
  204. gxv_just_check_max_gid(). Additional check for upside-down
  205. relationship between `lowerLimit' and `upperLimit' is added.
  206. (gxv_just_actSubrecord_type1_validate): GID is checked by
  207. gxv_just_check_max_gid().
  208. (gxv_just_actSubrecord_type2_validate): Conditionalize
  209. unvalidated variable `substThreshhold'. GID is checked by
  210. gxv_just_check_max_gid().
  211. (gxv_just_actSubrecord_type5_validate): GID is checked by
  212. gxv_just_check_max_gid().
  213. (gxv_just_classTable_entry_validate): Conditionalize
  214. unvalidated variables; `setMark', `dontAdvance',
  215. `markClass', `currentClass'.
  216. 2011-06-14 suzuki toshiya <[email protected]>
  217. [gxvalid] Preparation to fix gcc4.6 compiler warnings.
  218. * src/gxvalid/gxvcommn.h (GXV_LOAD_TRACE_VARS): New macro to
  219. conditionalize the variable which is only used for trace messages.
  220. Automatically set by FT_DEBUG_LEVEL_TRACE.
  221. (GXV_LOAD_UNUSED_VARS): New macro to conditionalize the loading of
  222. unvalidated variables. Undefined by default to calm gcc4.6 warning.
  223. (GXV_ValidatorRec.{min_gid,max_gid}): New variables to hold defined
  224. GID ranges, for the comparison of GID ranges in different subtables.
  225. 2011-06-08 Werner Lemberg <[email protected]>
  226. [autofit] Remove unused structure member.
  227. * src/autofit/afhints.h (AF_SegmentRec): Remove `contour'.
  228. * src/autofit/aflatin.c (af_latin_hints_compute_segments),
  229. src/autofit/aflatin2.c (af_latin2_hints_compute_segments): Updated.
  230. 2011-05-30 Werner Lemberg <[email protected]>
  231. Fix g++ 4.6 compilation.
  232. * src/autofit/afhints.c (af_glyph_hints_dump_segments,
  233. af_glyph_hints_dump_edges): Use cast.
  234. 2011-05-30 Werner Lemberg <[email protected]>
  235. Fix gcc 4.6 compiler warnings.
  236. * src/autofit/afcjk.c (af_cjk_metrics_init_blues): Use casts and
  237. remove unused variables.
  238. * src/autofit/aflatin.c (af_latin_hints_compute_edges): Comment out
  239. `up_dir'.
  240. * src/smooth/ftsmooth.c (ft_smooth_render_generic): Use `height_org'
  241. and `width_org' conditionalized.
  242. 2011-05-28 suzuki toshiya <[email protected]>
  243. [mac] Conditionalize the inclusion of `AvailabilityMacros.h'.
  244. The native SDK on earliest Mac OS X (10.0-10.1) did not have
  245. `AvailabilityMacros.h'. To prevent the inclusion of missing
  246. header file, ECANCELED (introduced in 10.2) in POSIX header
  247. file <errno.h> is checked to detect the system version.
  248. * include/freetype/config/ftconfig.h: Conditionalize the
  249. inclusion of `AvailabilityMacros.h'.
  250. * builds/unix/ftconfig.in: Ditto.
  251. * builds/vms/ftconfig.h: Ditto.
  252. 2011-05-27 Werner Lemberg <[email protected]>
  253. [autofit] Improve tracing of hinting process.
  254. * src/autofit/aflatin.c (af_latin_hint_edges): Add tracing message
  255. `ADJUST'.
  256. 2011-05-26 Werner Lemberg <[email protected]>
  257. [autofit] Fix trace message.
  258. * src/autofit/aflatin.c (af_latin_hint_edges): Show correct value in
  259. tracing message.
  260. 2011-05-24 Daniel Zimmermann <[email protected]>
  261. Reduce warnings for MS Visual Studio 2010.
  262. * src/autofit/afhints.c (af_glyph_hints_get_num_segments,
  263. af_glyph_hints_get_segment_offset) [!FT_DEBUG_AUTOFIT]: Provide
  264. return value.
  265. * src/cff/cffgload.c (cff_slot_load): Add cast.
  266. * src/truetype/ttobjs.c (tt_check_trickyness_sfnt_ids): Use proper
  267. loop variable type.
  268. 2011-05-16 suzuki toshiya <[email protected]>
  269. Automake component `builds/unix/install-sh' is removed.
  270. * builds/unix/install-sh: Removed. It is not needed to
  271. include repository, because autogen.sh installs it.
  272. * builds/unix/.gitignore: Register install-sh.
  273. 2011-05-12 suzuki toshiya <[email protected]>
  274. [autofit] Make trace message for CJK bluezone more verbose.
  275. 2011-05-08 Just Fill Bugs <[email protected]>
  276. suzuki toshiya <[email protected]>
  277. [autofit] Add bluezones for CJK Ideographs.
  278. To remove extremas of vertical strokes of CJK Ideographs at
  279. low resolution and make the top and bottom horizontal stems
  280. aligned, bluezones for CJK Ideographs are calculated from
  281. sample glyphs. At present, vertical bluezones (bluezones
  282. to align vertical stems) are disabled by default. For detail, see
  283. http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00070.html
  284. http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00092.html
  285. http://lists.gnu.org/archive/html/freetype-devel/2011-05/msg00001.html
  286. * include/freetype/internal/fttrace.h: New trace component `afcjk'.
  287. * src/autofit/afcjk.h (AF_CJK{Blue,Axis,Metric}Rec): Add CJK version
  288. for AF_Latin{Blue,Axis,Metric}Rec.
  289. (af_cjk_metrics_check_digits): Ditto, shared with Indic module.
  290. (af_cjk_metrics_init_widths): Ditto.
  291. (af_cjk_metrics_init): Take AF_CJKMetric instead of AF_LatinMetric.
  292. (af_cjk_metrics_scale): Ditto (declaration).
  293. (af_cjk_hints_init): Ditto (declaration).
  294. (af_cjk_hints_apply): Ditto (declaration).
  295. * src/autofit/afcjk.c (af_cjk_metrics_scale): Ditto (body).
  296. (af_cjk_hints_init): Ditto (body).
  297. (af_cjk_hints_apply): Ditto (body).
  298. (af_cjk_metrics_init_widths): Duplicate af_latin_metrics_init_widths.
  299. (af_cjk_metrics_check_digits): Duplicate af_latin_metrics_check_digits.
  300. (af_cjk_metrics_init): Call CJK bluezone initializer.
  301. (af_cjk_metrics_scale_dim): Add code to scale bluezones.
  302. (af_cjk_hints_compute_blue_edges): New function, CJK version of
  303. af_latin_hints_compute_blue_edges.
  304. (af_cjk_metrics_init_blues): New function, CJK version of
  305. af_latin_metrics_init_blues.
  306. (af_cjk_hints_edges): Add code to align the edge stems to blue zones.
  307. * src/autofit/afindic.c (af_indic_metrics_init): Take AF_CJKMetric
  308. instead of AF_LatinMetric, and initialize as af_cjk_metrics_init.
  309. However bluezones are not initialized.
  310. (af_indic_metrics_scale): Take AF_CJKMetric instead of AF_LatinMetric.
  311. (af_indic_hints_init): Ditto.
  312. (af_indic_hints_apply): Ditto.
  313. * docs/CHANGES: Note about CJK bluezone support.
  314. 2011-05-06 Werner Lemberg <[email protected]>
  315. [autofit] Remove unused struct member.
  316. * src/autofit/aflatin.h (AF_LatinAxis): Remove `control_overshoot'.
  317. 2011-05-04 Werner Lemberg <[email protected]>
  318. * src/autofit/aflatin.c (af_latin_metrics_scale_dim): Simplify.
  319. 2011-05-01 Just Fill Bugs <[email protected]>
  320. Werner Lemberg <[email protected]>
  321. [autofit] Add more debugging functions.
  322. * src/autofit/afhints.c (af_glyph_hints_get_num_segments,
  323. af_glyph_hints_get_segment_offset): New functions.
  324. 2011-05-01 suzuki toshiya <[email protected]>
  325. Add new option `--disable-mmap' to configure script.
  326. * builds/unix/configure.raw: New option `--disable-mmap'
  327. is added. It is for the developers to simulate the systems
  328. without mmap() (like 4.3BSD, minix etc) on POSIX systems.
  329. 2011-04-30 suzuki toshiya <[email protected]>
  330. [truetype] Always recalculate the sfnt table checksum.
  331. * src/truetype/ttobjs.c (tt_get_sfnt_checksum): Recalculate
  332. the sfnt table checksum even if non-zero value is written in
  333. the TrueType font header. Some bad PDF generators write
  334. wrong values. For details see examples and benchmark tests
  335. of the latency by recalculation:
  336. http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00091.html
  337. http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00096.html
  338. 2011-04-30 suzuki toshiya <[email protected]>
  339. [truetype] Register a set of tricky fonts, NEC FA family.
  340. * src/truetype/ttobjs.c (tt_check_trickyness_sfnt_ids):
  341. Add 8 checksum sets for NEC FA family. For the tricky fonts
  342. without some tables (e.g. NEC FA fonts lack cvt table),
  343. extra check is added to assure that a zero-length table in the
  344. registry is not included in the font.
  345. 2011-04-29 suzuki toshiya <[email protected]>
  346. [truetype] Fix a bug in the sfnt table checksum getter.
  347. * src/truetype/ttobjs.c (tt_get_sfnt_checksum): Check the
  348. return value of face->goto_table() correctly.
  349. 2011-04-28 Werner Lemberg <[email protected]>
  350. [autofit] Improve tracing messages.
  351. * src/autofit/aflatin.c (af_latin_metrics_init_blues,
  352. af_latin_align_linked_edge, af_latin_hint_edges): Do it.
  353. 2011-04-25 Kan-Ru Chen <[email protected]>
  354. [truetype] Always check the checksum to identify tricky fonts.
  355. Because some PDF generators mangle the family name badly,
  356. the trickyness check by the checksum should be invoked always.
  357. For sample PDF, see
  358. http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00073.html
  359. * src/truetype/ttobjs.c (tt_check_trickyness): Even when
  360. tt_check_trickyness_family() finds no trickyness,
  361. tt_check_trickyness_sfnt_ids() is invoked.
  362. 2011-04-22 suzuki toshiya <[email protected]>
  363. [autofit] Add more Indic scripts with hanging baseline.
  364. * src/autofit/afindic.c (af_indic_uniranges): Tibetan, Limbu,
  365. Sundanese, Meetei Mayak, Syloti Nagri and Sharada scripts are
  366. added.
  367. 2011-04-21 Behdad Esfahbod <[email protected]>
  368. Always ignore global advance.
  369. This makes FT_LOAD_IGNORE_GLOBAL_ADVANCE_WIDTH redundant,
  370. deprecated, and ignored. The new behavior is what every major user
  371. of FreeType has been requesting. Global advance is broken in many
  372. CJK fonts. Just ignoring it by default makes most sense.
  373. * src/truetype/ttdriver.c (tt_get_advances),
  374. src/truetype/ttgload.c (TT_Get_HMetrics, TT_Get_VMetrics,
  375. tt_get_metrics, compute_glyph_metrics, TT_Load_Glyph),
  376. src/truetype/ttgload.h: Implement it.
  377. * docs/CHANGES: Updated.
  378. 2011-04-21 rainy6144 <[email protected]>
  379. [autofit] Blur CJK stems if too many to preserve their gaps.
  380. When there are too many stems to preserve their gaps in the
  381. rasterization of CJK Ideographs at a low resolution, blur the
  382. stems instead of showing clumped stems. See
  383. http://lists.gnu.org/archive/html/freetype-devel/2011-02/msg00011.html
  384. http://lists.gnu.org/archive/html/freetype-devel/2011-04/msg00046.html
  385. for details.
  386. * src/autofit/afcjk.c (af_cjk_hint_edges): Store the position of
  387. the previous stem by `has_last_stem' and `last_stem_pos', and skip
  388. a stem if the current and previous stem are too near to preserve
  389. the gap.
  390. 2011-04-18 Werner Lemberg <[email protected]>
  391. Integrate autofitter debugging stuff.
  392. * devel/ftoption.h, include/freetype/config/ftoption.h
  393. (FT_DEBUG_AUTOFIT): New macro.
  394. * include/freetype/internal/fttrace.h: Add trace components for
  395. autofitter.
  396. * src/autofit/aftypes.h (AF_LOG): Removed.
  397. (_af_debug): Removed.
  398. * src/autofit/*: s/AF_DEBUG/FT_DEBUG_AUTOFIT/.
  399. s/AF_LOG/FT_TRACE5/.
  400. Define FT_COMPONENT where necessary.
  401. 2011-04-18 Werner Lemberg <[email protected]>
  402. Synchronize config files.
  403. * builds/unix/ftconfig.in: Copy missing assembler routines from
  404. include/freetype/config/ftconfig.h.
  405. 2011-04-13 Werner Lemberg <[email protected]>
  406. Fix Savannah bug #33047.
  407. Patch submitted by anonymous reporter.
  408. * src/psaux/psobjs.c (ps_table_add): Use FT_PtrDist for pointer
  409. difference.
  410. 2011-04-11 Kan-Ru Chen <[email protected]>
  411. Fix reading of signed integers from files on 64bit platforms.
  412. Previously, signed integers were converted to unsigned integers, but
  413. this can fail because of sign extension. For example, 0xa344a1eb
  414. becomes 0xffffffffa344a1eb.
  415. We now do the reverse which is always correct because the integer
  416. size is the same during the cast from unsigned to signed.
  417. * include/freetype/internal/ftstream.h, src/base/ftstream.c
  418. (FT_Stream_Get*): Replace with...
  419. (FT_Stream_GetU*): Functions which read unsigned integers.
  420. Update all macros accordingly.
  421. * src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Updated.
  422. 2011-04-07 Werner Lemberg <[email protected]>
  423. Update Unicode ranges for CJK autofitter; in particular, add Hangul.
  424. * src/autofit/afcjk.c (af_cjk_uniranges): Update to Unicode 6.0.
  425. 2011-04-04 Werner Lemberg <[email protected]>
  426. Fix formatting of autofit debug dumps.
  427. * src/autofit/afhints.c (af_glyph_hints_dump_points,
  428. af_glyph_hints_dump_segments, af_glyph_hints_dump_edges): Adjust
  429. column widths.
  430. 2011-03-30 Werner Lemberg <[email protected]>
  431. * src/autofit/aftypes.h (AF_OutlineRec): Removed, unused.
  432. 2011-03-24 Werner Lemberg <[email protected]>
  433. * src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 256.
  434. This limit is given on p. 37 of Adobe Technical Note #5014.
  435. 2011-03-23 Werner Lemberg <[email protected]>
  436. * src/truetype/ttpload.c (tt_face_load_loca): Fix mismatch warning.
  437. 2011-03-20 Werner Lemberg <[email protected]>
  438. * src/sfnt/sfobjs.c (sfnt_open_font): Check number of TTC subfonts.
  439. 2011-03-19 Werner Lemberg <[email protected]>
  440. More C++ compilation fixes.
  441. * src/autofit/afhints.c (af_glyph_hints_dump_points,
  442. af_glyph_hints_dump_segments, af_glyph_hints_dump_edges)
  443. [__cplusplus]: Protect with `extern "C"'.
  444. 2011-03-18 Werner Lemberg <[email protected]>
  445. C++ compilation fixes.
  446. * src/autofit/aflatin.c (af_latin_hints_apply), src/autofit/afcjk.c
  447. (af_cjk_hints_apply): Use cast for `dim'.
  448. 2011-03-17 Alexei Podtelezhnikov <[email protected]>
  449. A better fix for Savannah bug #32671.
  450. * src/smooth/ftgrays.c (gray_render_conic): Clean up code and
  451. replace WHILE loop with a more natural DO-WHILE construct.
  452. 2011-03-16 Werner Lemberg <[email protected]>.
  453. * src/base/ftstroke.c (FT_StrokerRec): Remove unused `valid' field.
  454. Suggested by Graham Asher.
  455. 2011-03-09 Werner Lemberg <[email protected]>
  456. Make FT_Sfnt_Table_Info return the number of SFNT tables.
  457. * src/sfnt/sfdriver.c (sfnt_table_info): Implement it.
  458. * include/freetype/tttables.h: Update documentation.
  459. * docs/CHANGES: Updated.
  460. 2011-03-07 Bram Tassyns <[email protected]>
  461. Fix Savannah bug #27988.
  462. * src/cff/cffobjs.c (remove_style): New function.
  463. (cff_face_init): Use it to strip off the style part of the family
  464. name.
  465. 2011-03-07 Werner Lemberg <[email protected]>
  466. * docs/CHANGES: Updated.
  467. 2011-03-07 Alexei Podtelezhnikov <[email protected]>
  468. Quick fix for Savannah bug #32671.
  469. This isn't the optimal solution yet, but it restores the previous
  470. rendering quality (more or less).
  471. * src/smooth/ftgrays.c (gray_render_conic): Do more splitting.
  472. 2011-03-06 Werner Lemberg <[email protected]>
  473. Fix autohinting fallback.
  474. * src/base/ftobjs.c (FT_Load_Glyph): Assure that we only check TTFs,
  475. ignoring CFF-based OTFs.
  476. 2011-02-27 Werner Lemberg <[email protected]>
  477. Add AF_CONFIG_OPTION_USE_WARPER to control the autofit warper.
  478. * devel/ftoption.h, include/freetype/config/ftoption.h
  479. (AF_CONFIG_OPTION_USE_WARPER): New macro.
  480. * src/autofit/aftypes.h (AF_USE_WARPER): Remove.
  481. * src/autofit/*: s/AF_USE_WARPER/AF_CONFIG_OPTION_USE_WARPER/.
  482. * src/autofit/afwarp.c [!AF_CONFIG_OPTION_USE_WARPER]: Replace dummy
  483. variable assignment with a typedef.
  484. 2011-02-26 Werner Lemberg <[email protected]>
  485. [autofit] Slight simplifications.
  486. * src/autofit/aflatin.c (af_latin_hints_link_segments): Remove
  487. test which always returns false.
  488. (af_latin_hints_compute_blue_edges): Remove redundant assignment.
  489. 2011-02-24 Werner Lemberg <[email protected]>
  490. * docs/PROBLEMS: Mention rendering differences on different
  491. platforms.
  492. Suggested and worded by Jason Owen <[email protected]>.
  493. 2011-02-24 Werner Lemberg <[email protected]>
  494. [autofit] Comment out unused code.
  495. * src/autofit/aflatin.c, src/autofit/aflatin2.c
  496. (af_latin_hints_compute_edges): Do it.
  497. 2011-02-24 Werner Lemberg <[email protected]>
  498. * src/autofit/afhints.h (AF_GlyphHints): Remove unused field.
  499. 2011-02-20 suzuki toshiya <[email protected]>
  500. [cache] Fix an off-by-one bug in `FTC_Manager_RemoveFaceID'.
  501. Found by <[email protected]>, see detail in
  502. http://lists.gnu.org/archive/html/freetype/2011-01/msg00023.html
  503. * src/cache/ftccache.c (FTC_Cache_RemoveFaceID): Check the node
  504. buckets[cache->p + cache->mask] too.
  505. 2011-02-19 Kevin Kofler <[email protected]>
  506. Fall back to autohinting if a TTF/OTF doesn't contain any bytecode.
  507. This is Savannah patch #7471.
  508. * src/base/ftobjs.c (FT_Load_Glyph): Implement it.
  509. 2011-02-19 John Tytgat <[email protected]>
  510. [cff] Fix subset prefix removal.
  511. This is Savannah patch #7465.
  512. * src/cff/cffobjs.c (remove_subset_prefix): Update length after
  513. subset prefix removal.
  514. 2011-02-13 Bradley Grainger <[email protected]>
  515. Add inline assembly version of FT_MulFix for MSVC.
  516. * include/freetype/config/ftconfig.h: Ported the FT_MulFix_i386
  517. function from GNU inline assembly syntax (see #ifdef __GNUC__ block
  518. above) to MASM syntax for Microsoft Visual C++.
  519. 2011-02-13 Bradley Grainger <[email protected]>
  520. Add project and solution files in Visual Studio 2010 format.
  521. * builds/win32/.gitignore: Ignore user-specific cache files.
  522. * builds/win32/vc2010/: Add VS2010 project & solution files, created
  523. by upgrading builds/win32/vc2008/freetype.vcproj.
  524. * objs/.gitignore: Ignore Visual Studio output files.
  525. 2011-02-01 Werner Lemberg <[email protected]>
  526. * src/autofit/afdummy.c: Include `aferrors.h'.
  527. Problem reported by Chris Liddell <[email protected]>.
  528. 2011-02-01 Werner Lemberg <[email protected]>
  529. [cff] Ignore unknown operators in charstrings.
  530. Patch suggested by Miles.Lau <[email protected]>.
  531. * src/cff/cffgload.c (cff_decoder_parse_charstrings): Emit tracing
  532. message for unknown operators and continue instead of exiting with a
  533. syntax error.
  534. 2011-02-01 Werner Lemberg <[email protected]>
  535. [truetype] FT_LOAD_PEDANTIC now affects `prep' and `fpgm' also.
  536. * src/truetype/ttgload.c (tt_loader_init): Handle
  537. `FT_LOAD_PEDANTIC'.
  538. * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep,
  539. tt_size_init_bytecode, tt_size_ready_bytecode): New argument to
  540. handle pedantic mode.
  541. * src/truetype/ttobjs.h: Updated.
  542. 2011-01-31 Werner Lemberg <[email protected]>
  543. [truetype] Protect jump instructions against endless loops.
  544. * src/truetype/interp.c (DO_JROT, DO_JMPR, DO_JROF): Exit with error
  545. if offset is zero.
  546. 2011-01-31 Werner Lemberg <[email protected]>
  547. [truetype] Improve handling of invalid references.
  548. * src/truetype/interp.c: Set even more TT_Err_Invalid_Reference
  549. error codes only if pedantic hinting is active. At the same time,
  550. try to provide sane values which hopefully allow useful
  551. continuation. Exception to this is CALL and LOOPCALL – due to
  552. possible stack corruption it is necessary to bail out.
  553. 2011-01-31 Werner Lemberg <[email protected]>
  554. [truetype] Improve handling of stack underflow.
  555. * src/truetype/ttinterp.c (TT_RunIns, Ins_FLIPPT, Ins_DELTAP,
  556. Ins_DELTAC): Exit with error only if `pedantic_hinting' is set.
  557. Otherwise, try to do something sane.
  558. 2011-01-30 Werner Lemberg <[email protected]>
  559. * src/sfnt/ttmtx.c (tt_face_load_hmtx): Fix tracing message.
  560. 2011-01-30 LIU Sun-Liang <[email protected]>
  561. [truetype]: Fix behaviour of MIAP for invalid arguments.
  562. * src/truetype/ttinterp.c (Ins_MIAP): Set reference points even in
  563. case of error.
  564. 2011-01-18 Werner Lemberg <[email protected]>
  565. [truetype] Fix handling of MIRP instruction.
  566. Thanks to Greg Hitchcock who explained the issue.
  567. * src/truetype/ttinterp.c (Ins_MIRP): Replace a `>=' operator with
  568. `>' since the description in the specification is incorrect.
  569. This fixes, for example, glyph `two' in font `Helvetica Neue LT Com
  570. 65 medium' at 15ppem.
  571. 2011-01-15 suzuki toshiya <[email protected]>
  572. Fix ARM assembly code in include/freetype/config/ftconfig.h.
  573. * include/freetype/config/ftconfig.h (FT_MulFix_arm):
  574. Copy the maintained code from builds/unix/ftconfig.in.
  575. Old GNU binutils could not accept the reduced syntax
  576. `orr %0, %2, lsl #16'. Un-omitted syntax like RVCT,
  577. `orr %0, %0, %2, lsl #16' is better. Reported by
  578. Johnson Y. Yan. The bug report by Qt developers is
  579. considered too.
  580. http://bugreports.qt.nokia.com/browse/QTBUG-6521
  581. 2011-01-15 Werner Lemberg <[email protected]>
  582. [raster] Make bbox handling the same as with Microsoft's rasterizer.
  583. Right before B/W rasterizing, the bbox gets simply rounded to
  584. integers. This fixes, for example, glyph `three' in font `Helvetica
  585. Neue LT Com 65 Medium' at 11ppem.
  586. Thanks to Greg Hitchcock who explained this behaviour.
  587. * src/raster/ftrend1.c (ft_raster1_render): Implement it.
  588. 2011-01-15 suzuki toshiya <[email protected]>
  589. Copy -mcpu=* & -march=* options from CFLAGS to LDFLAGS.
  590. * builds/unix/configure.raw: Consider recent gcc-standard
  591. flags to specify architecture in CFLAGS & LDFLAGS
  592. harmonization. Requested by Savannah bug #32114, to
  593. support multilib feature of BuildRoot SDK correctly.
  594. 2011-01-15 suzuki toshiya <[email protected]>
  595. Fix off-by-one bug in CFLAGS & LDFLAGS harmonizer.
  596. * builds/unix/configure.raw: Some important options that
  597. included in CFLAGS but not in LDFLAGS are copied to
  598. LDFLAGS, but the last option in CFLAGS was not checked.
  599. 2011-01-13 Werner Lemberg <[email protected]>
  600. [raster] Add undocumented drop-out rule to the other bbox side also.
  601. * src/raster/ftraster.c (Vertical_Sweep_Drop,
  602. Horizontal_Sweep_Drop): Implement it.
  603. 2011-01-13 Werner Lemberg <[email protected]>
  604. [raster] Reduce jitter value.
  605. This catches a rendering problem with glyph `x' from Tahoma at
  606. 10ppem. It seems that the increase of the precision in the change
  607. from 2009-06-11 makes a larger jitter value unnecessary.
  608. * src/raster/ftraster.c (Set_High_Precision): Implement it.
  609. 2011-01-13 Werner Lemberg <[email protected]>
  610. [raster] Handle drop-outs at glyph borders according to Microsoft.
  611. If a drop-out rule would switch on a pixel outside of the glyph's
  612. bounding box, use the right (or top) pixel instead. This is an
  613. undocumented feature, but some fonts like `Helvetica Neue LT Com 65
  614. Medium' heavily rely on it.
  615. Thanks to Greg Hitchcock who explained this behaviour.
  616. * src/raster/ftraster.c (Vertical_Sweep_Drop,
  617. Horizontal_Sweep_Drop): Implement it.
  618. 2011-01-09 suzuki toshiya <[email protected]>
  619. [cache] Fix Savannah bug #31923, patch drafted by Harsha.
  620. When a node comparator changes the cached nodes during the
  621. search of a node matching with queried properties, the
  622. pointers obtained before the function should be updated to
  623. prevent the dereference to freed or reallocated nodes.
  624. To minimize the rescan of the linked list, the update is
  625. executed when the comparator notifies the change of cached
  626. nodes. This change depends previous change:
  627. 38b272ffbbdaae276d636aec4ef84af407d16181
  628. * src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Rescan the
  629. top node if the cached nodes are changed.
  630. * src/cache/ftccache.c (FTC_Cache_Lookup): Ditto.
  631. 2011-01-09 suzuki toshiya <[email protected]>
  632. [cache] Notice if a cache query induced the node list change.
  633. Some node comparators (comparing the cache node contents and the
  634. properties specified by the query) can flush the cache node to
  635. prevent the cache inflation. The change may invalidate the pointers
  636. to the node obtained before the node comparison, so it should be
  637. noticed to the caller. The problem caused by the cache node
  638. changing is reported by Harsha, see Savannah bug #31923.
  639. * src/cache/ftccache.h (FTC_Node_CompareFunc): Add new argument
  640. `FT_Bool* list_changed' to indicate the change of the cached nodes
  641. to the caller.
  642. (FTC_CACHE_LOOKUP_CMP): Watch the change of the cached nodes by
  643. `_list_changed'.
  644. (FTC_CACHE_TRYLOOP_END): Take new macro argument `_list_changed'
  645. and update it when `FTC_Manager_FlushN' flushes any nodes.
  646. * src/cache/ftccback.h (ftc_snode_compare): Updated to fit with new
  647. FTC_Node_CompareFunc type.
  648. (ftc_gnode_compare): Ditto.
  649. * src/cache/ftcbasic.c: Include FT_INTERNAL_OBJECTS_H to use
  650. TRUE/FALSE macros.
  651. (ftc_basic_gnode_compare_faceid): New argument `FT_Bool*
  652. list_changed' to indicate the change of the cache nodes (anyway, it
  653. is always FALSE).
  654. * src/cache/ftccmap.c: Include FT_INTERNAL_OBJECTS_H to use
  655. TRUE/FALSE macros.
  656. (ftc_cmap_node_compare): New argument `FT_Bool* list_changed' to
  657. indicate the change of the cache nodes (anyway, it is always FALSE).
  658. (ftc_cmap_node_remove_faceid): Ditto.
  659. * src/cache/ftccache.c (FTC_Cache_NewNode): Pass a NULL pointer to
  660. `FTC_CACHE_TRYLOOP_END', because the result is not needed.
  661. (FTC_Cache_Lookup): Watch the change of the cache nodes by
  662. `list_changed'.
  663. (FTC_Cache_RemoveFaceID): Ditto.
  664. * src/cache/ftcglyph.c: Include FT_INTERNAL_OBJECTS_H to use
  665. TRUE/FALSE macros.
  666. (ftc_gnode_compare): New argument `FT_Bool* list_changed' to
  667. indicate the change of the cache nodes (anyway, it is always FALSE).
  668. (FTC_GNode_Compare): New argument `FT_Bool* list_changed' to be
  669. passed to `ftc_gnode_compare'.
  670. * src/cache/ftcglyph.h (FTC_GNode_Compare): Ditto.
  671. * src/cache/ftcsbits.c (ftc_snode_compare): New argument `FT_Bool*
  672. list_changed' to indicate the change of the cache nodes, anyway. It
  673. is updated by `FTC_CACHE_TRYLOOP'.
  674. (FTC_SNode_Compare): New argument `FT_Bool* list_changed' to be
  675. passed to `ftc_snode_compare'.
  676. * src/cache/ftcsbits.h (FTC_SNode_Compare): Ditto.
  677. 2011-01-09 suzuki toshiya <[email protected]>
  678. [cache] Fit `FTC_GNode_Compare' to `FTC_Node_CompareFunc'.
  679. * src/cache/ftcglyph.h (FTC_GNode_Compare): Add the 3rd
  680. argument `FTC_Cache cache' to fit FTC_Node_CompareFunc
  681. prototype.
  682. * src/cache/ftcglyph.c (FTC_GNode_Compare): Ditto. Anyway,
  683. `cache' is not used by its child `ftc_gnode_compare'.
  684. 2011-01-09 suzuki toshiya <[email protected]>
  685. [cache] Deduplicate the code to get the top node by a hash.
  686. There are several duplicated code fragments getting the top node
  687. from a cache by a given hash, like:
  688. idx = hash & cache->mask;
  689. if ( idx < cache->p )
  690. idx = hash & ( cache->mask * 2 + 1 );
  691. pnode = cache->buckets + idx;
  692. To remove duplication, a cpp-macro to do same work
  693. `FTC_NODE__TOP_FOR_HASH' is introduced. For non-inlined
  694. configuration, non-`ftc_get_top_node_for_hash' is also introduced.
  695. * src/cache/ftccache.h (FTC_NODE__TOP_FOR_HASH): Declare
  696. and implement inlined version.
  697. (FTC_CACHE_LOOKUP_CMP): Use `FTC_NODE__TOP_FOR_HASH'.
  698. * src/cache/ftccache.c (ftc_get_top_node_for_hash): Non-inlined
  699. version.
  700. (ftc_node_hash_unlink): Use `FTC_NODE__TOP_FOR_HASH'.
  701. (ftc_node_hash_link): Ditto.
  702. (FTC_Cache_Lookup): Ditto.
  703. 2011-01-09 suzuki toshiya <[email protected]>
  704. [cache] inline-specific functions are conditionalized.
  705. * src/cache/ftcglyph.c (FTC_GNode_Compare): Conditionalized for
  706. inlined configuration. This function is a thin wrapper of
  707. `ftc_gnode_compare' for inlined `FTC_CACHE_LOOKUP_CMP' (see
  708. `nodecmp' argument). Under non-inlined configuration,
  709. `ftc_gnode_compare' is invoked by `FTC_Cache_Lookup', via
  710. `FTC_Cache->clazz.node_compare'.
  711. * src/cache/ftcglyph.h (FTC_GNode_Compare): Ditto.
  712. * src/cache/ftcsbits.c (FTC_SNode_Compare): Ditto, for
  713. `ftc_snode_compare'.
  714. * src/cache/ftcsbits.h (FTC_SNode_Compare): Ditto.
  715. 2011-01-09 suzuki toshiya <[email protected]>
  716. [cache] Correct a type mismatch under non-inlined config.
  717. * src/cache/ftcglyph.h (FTC_GCACHE_LOOKUP_CMP): `FTC_GCache_Lookup'
  718. takes the node via a pointer `FTC_Node*', differently from cpp-macro
  719. `FTC_CACHE_LOOKUP_CMP'.
  720. 2011-01-06 suzuki toshiya <[email protected]>
  721. Update Jamfile to include Bzip2 support.
  722. * Jamfile: Include src/bzip2 to project.
  723. Comments for lzw, gzip, bzip2 are changed to clarify that
  724. they are for compressed PCF fonts, not others.
  725. (e.g. compressed BDF fonts are not supported yet)
  726. 2011-01-05 suzuki toshiya <[email protected]>
  727. Update Symbian project files to include Bzip2 support.
  728. Currently, it provides `FT_Stream_OpenBzip2' that returns
  729. unimplemented error always, to prevent unresolved symbol
  730. error for the applications designed for Unix systems.
  731. * builds/symbian/bld.inf: Include ftbzip2.h.
  732. * builds/symbian/freetype.mmp: Include ftbzip2.c.
  733. 2011-01-05 suzuki toshiya <[email protected]>
  734. Update classic MacOS makefiles to include Bzip2 support.
  735. Currently, it provides `FT_Stream_OpenBzip2' that returns
  736. unimplemented error always, to prevent unresolved symbol
  737. error for the applications designed for Unix systems.
  738. * builds/mac/FreeType.m68k_cfm.make.txt: Include ftbzip2.c.o.
  739. * builds/mac/FreeType.m68k_far.make.txt: Ditto.
  740. * builds/mac/FreeType.ppc_carbon.make.txt: Include ftbzip2.c.x.
  741. * builds/mac/FreeType.ppc_classic.make.txt: Ditto.
  742. 2011-01-05 suzuki toshiya <[email protected]>
  743. Update Amiga makefiles to include Bzip2 support.
  744. Currently, it provides `FT_Stream_OpenBzip2' that returns
  745. unimplemented error always, to prevent unresolved symbol
  746. error for the applications designed for Unix systems.
  747. * builds/amiga/makefile: Include bzip2.ppc.o built from ftbzip2.c.
  748. * builds/amiga/makefile.os4: Include bzip2.o built from ftbzip2.c.
  749. * builds/amiga/smakefile: Ditto.
  750. 2011-01-05 suzuki toshiya <[email protected]>
  751. Update pkg-config tools to reflect Bzip2 support.
  752. * builds/unix/freetype-config.in: Include `-lbz2' to
  753. --libs output, if built with Bzip2 support.
  754. * builds/unix/freetype2.in: Ditto.
  755. 2011-01-05 suzuki toshiya <[email protected]>
  756. * builds/unix/configure.raw: Remove `SYSTEM_BZ2LIB' macro.
  757. SYSTEM_ZLIB is used to switch the builtin zlib source
  758. or system zlib source out of FreeType2. But ftbzip2
  759. module has no builtin bzip2 library and always requires
  760. system bzip2 library. Thus SYSTEM_BZ2LIB is always yes,
  761. it is not used.
  762. 2011-01-03 Werner Lemberg <[email protected]>
  763. */rules.mk: Handle `*pic.c' files.
  764. 2010-12-31 Werner Lemberg <[email protected]>
  765. * src/cff/cfftypes.h (CFF_MAX_CID_FONTS): Increase to 64.
  766. Problem reported by Tom Bishop <[email protected]>.
  767. 2010-12-31 Werner Lemberg <[email protected]>
  768. Improve bzip2 support.
  769. * include/freetype/ftmoderr.h: Add bzip2.
  770. * docs/INSTALL.ANY, docs/CHANGES: Updated.
  771. * src/pcf/README: Updated.
  772. * include/freetype/internal/pcftypes.h: Obsolete, removed.
  773. 2010-12-31 Joel Klinghed <[email protected]>
  774. Add bzip2 compression support to handle *.pcf.bz2 files.
  775. * builds/unix/configure.raw: Test for libbz2 library.
  776. * devel/ftoption.h, include/freetype/config/ftoption.h
  777. (FT_CONFIG_OPTION_USE_BZIP2): Define.
  778. * include/freetype/config/ftheader.h (FT_BZIP2_H): Define.
  779. * include/freetype/ftbzip2.h: New file.
  780. * src/bzip2/*: New files.
  781. * src/pcf/pcf.h: s/gzip_/comp_/.
  782. * src/pcf/pcfdrvr.c: Include FT_BZIP2_H.
  783. s/gzip_/comp_/.
  784. (PCF_Face_Init): Handle bzip2 compressed files.
  785. * docs/formats.txt, modules.cfg: Updated.
  786. 2010-12-25 Harsha <[email protected]>
  787. Apply Savannah patch #7422.
  788. If we encounter a space in a string then the sbit buffer is NULL,
  789. height and width are 0s. So the check in ftc_snode_compare will
  790. always pass for spaces (comparision with 255). Here the comments
  791. above the condition are proper but the implementation is not. When
  792. we create an snode I think it is the proper way to initialize the
  793. width to 255 and then put a check for being equal to 255 in snode
  794. compare function.
  795. * src/cache/ftcsbits.c (FTC_SNode_New): Initialize sbit widths with
  796. value 255.
  797. (ftc_snode_compare): Fix condition.
  798. 2010-12-13 Werner Lemberg <[email protected]>
  799. Fix parameter handling of `FT_Set_Renderer'.
  800. Reported by Kirill Tishin <[email protected]>.
  801. * src/base/ftobjs.c (FT_Set_Renderer): Increment `parameters'.
  802. 2010-12-09 Werner Lemberg <[email protected]>
  803. [cff] Allow `hlineto' and `vlineto' without arguments.
  804. We simply ignore such instructions. This is invalid, but it doesn't
  805. harm; and indeed, there exist such subsetted fonts in PDFs.
  806. Reported by Albert Astals Cid <[email protected]>.
  807. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  808. [cff_op_hlineto]: Ignore instruction if there aren't any arguments
  809. on the stack.
  810. 2010-11-28 Werner Lemberg <[email protected]>
  811. * Version 2.4.4 released.
  812. =========================
  813. Tag sources with `VER-2-4-4'.
  814. * docs/CHANGES: Updated.
  815. * docs/VERSION.DLL: Update documentation and bump version number to
  816. 2.4.4
  817. * README, Jamfile (RefDoc),
  818. builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
  819. builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
  820. builds/win32/visualc/freetype.dsp,
  821. builds/win32/visualc/freetype.vcproj,
  822. builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
  823. builds/win32/visualce/freetype.vcproj,
  824. builds/win32/visualce/index.html,
  825. builds/wince/vc2005-ce/freetype.vcproj,
  826. builds/wince/vc2005-ce/index.html,
  827. builds/wince/vc2008-ce/freetype.vcproj,
  828. builds/wince/vc2008-ce/index.html: s/2.4.3/2.4.4/, s/243/244/.
  829. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 4.
  830. * builds/unix/configure.raw (version_info): Set to 12:2:6.
  831. 2010-11-28 Alexei Podtelezhnikov <[email protected]>
  832. [ftsmooth]: Minor code simplification.
  833. * src/smooth/ftgrays (gray_render_cubic): Do only one comparison
  834. instead of two.
  835. 2010-11-26 Johnson Y. Yan <[email protected]>
  836. [truetype] Better multi-threading support.
  837. * src/truetype/ttinterp.c (TT_Load_Context): Reset glyph zone
  838. references.
  839. 2010-11-23 John Tytgat <[email protected]>
  840. * src/psaux/t1decode.c (t1_decoder_parse_charstring): Expand
  841. start_point, check_points, add_point, add_point1, close_contour
  842. macros.
  843. Remove add_contour macro.
  844. Return error code from t1_builder_start_point and
  845. t1_builder_check_points when there was one (instead of returning 0).
  846. 2010-11-22 suzuki toshiya <[email protected]>
  847. [truetype] Identify the tricky fonts by cvt/fpgm/prep checksums.
  848. Some Latin TrueType fonts are still expected to be unhinted.
  849. Fix Savannah bug #31645.
  850. * src/truetype/ttobjs.c (tt_check_trickyness): Divided to...
  851. (tt_check_trickyness_family): this checking family name, and
  852. (tt_check_trickyness_sfnt_ids): this checking cvt/fpgm/prep.
  853. (tt_get_sfnt_checksum): Function to retrieve the sfnt checksum
  854. for specified subtable even if cleared by lazy PDF generators.
  855. (tt_synth_sfnt_checksum): Function to calculate the checksum.
  856. 2010-11-18 Werner Lemberg <[email protected]>
  857. [truetype] Fix `loca' handling for inconsistent number of glyphs.
  858. Reported by Johnson Y. Yan <[email protected]>.
  859. * src/truetype/ttpload.c (tt_face_load_loca): While sanitizing,
  860. handle case where `loca' is the last table in the font.
  861. 2010-11-18 Werner Lemberg <[email protected]>
  862. [sfnt] Ignore all errors while loading `OS/2' table.
  863. Suggested by Johnson Y. Yan <[email protected]>.
  864. * src/sfnt/sfobjs.c (sfnt_load_face): Do it.
  865. 2010-11-18 Johnson Y. Yan <[email protected]>
  866. [type1] Fix matrix normalization.
  867. * src/type1/t1load.c (parse_font_matrix): Handle sign of scaling
  868. factor.
  869. 2010-11-18 Werner Lemberg <[email protected]>
  870. [type1] Improve guard against malformed data.
  871. Based on a patch submitted by Johnson Y. Yan
  872. <[email protected]>
  873. * src/type1/t1load.c (read_binary_data): Check `size'.
  874. 2010-11-17 Werner Lemberg <[email protected]>
  875. [sfnt] While tracing, output table checksums also.
  876. * src/sfnt/ttload.c (tt_face_load_font_dir): Do it.
  877. 2010-11-04 suzuki toshiya <[email protected]>
  878. [UVS] Fix `find_variant_selector_charmap', Savannah bug #31545.
  879. Since 2010-07-04, `find_variant_selector_charmap' returns
  880. the first cmap subtable always under rogue-compatible
  881. configuration, it causes NULL pointer dereference and
  882. make UVS-related functions crashed.
  883. * src/base/ftobjs.c (Fix find_variant_selector_charmap):
  884. Returns UVS cmap correctly.
  885. 2010-11-01 Alexei Podtelezhnikov <[email protected]>
  886. [ftsmooth] Improve rendering.
  887. * src/smooth/ftsmooth.c (gray_render_conic): Since version 2.4.3,
  888. cubic deviations have been estimated _after_ UPSCALE, whereas
  889. conic ones have been evaluated _before_ UPSCALE, which produces
  890. inferior rendering results. Fix this.
  891. Partially undo change from 2010-10-15 by using ONE_PIXEL/4; this has
  892. been tested with demo images sent to the mailing list. See
  893. http://lists.gnu.org/archive/html/freetype-devel/2010-10/msg00055.html
  894. and later mails in this thread.
  895. 2010-10-28 Werner Lemberg <[email protected]>
  896. [ftraster] Minor fixes.
  897. Reported by Tom Bishop <[email protected]>.
  898. * src/raster/ftraster.c (ULong): Remove unused typedef.
  899. (TWorker): Remove unused variable `precision_mask'.
  900. 2010-10-28 Werner Lemberg <[email protected]>
  901. [ftraster] Fix rendering.
  902. Problem reported by Tom Bishop <[email protected]>; see
  903. thread starting with
  904. http://lists.gnu.org/archive/html/freetype/2010-10/msg00049.html
  905. * src/raster/ftraster.c (Line_Up): Replace FMulDiv with SMulDiv
  906. since the involved multiplication exceeds 32 bits.
  907. 2010-10-25 suzuki toshiya <[email protected]>
  908. Revert a change of `_idx' type in `FTC_CACHE_LOOKUP_CMP'.
  909. * src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Revert
  910. the type of `_idx' from FT_PtrDist (by previous change)
  911. to original FT_UFast, to match with FT_CacheRec.
  912. 2010-10-24 suzuki toshiya <[email protected]>
  913. [cache] Change the hash types to FT_PtrDist.
  914. On LLP64 platforms (e.g. Win64), FT_ULong (32-bit)
  915. variables are inappropriate to calculate hash values
  916. from the memory address (64-bit). The hash variables
  917. are extended from FT_ULong to FT_PtrDist and new
  918. hashing macro functions are introduced. The hash
  919. values on 16-bit memory platforms are changed, but
  920. ILP32 and LP64 are not changed. The hash value in
  921. the cache subsystem is not reverted to the memory
  922. address, so using signed type FT_PtrDist is safe.
  923. * src/cache/ftccache.h (_FTC_FACE_ID_HASH): New hash
  924. function to replace `FTC_FACE_ID_HASH' for portability.
  925. * src/cache/ftcmanag.h (FTC_SCALER_HASH): Replace
  926. `FTC_FACE_ID_HASH' by `_FTC_FACE_ID_HASH'.
  927. * src/cache/ftccmap.c (FTC_CMAP_HASH): Ditto.
  928. * src/cache/ftccache.h (FTC_NodeRec): The type of the
  929. member `hash' is changed from FT_UInt32 to FT_PtrDist.
  930. * src/cache/ftccache.h (FTC_Cache_Lookup): The type of the
  931. argument `hash' is changed from FT_UInt32 to FT_PtrDist.
  932. (FTC_Cache_NewNode): Ditto.
  933. * src/cache/ftccache.c (ftc_cache_add): Ditto.
  934. (FTC_Cache_Lookup): Ditto. (FTC_Cache_NewNode): Ditto.
  935. * src/cache/ftcglyph.h (FTC_GCache_Lookup): Ditto.
  936. * src/cache/ftcglyph.c (FTC_GCache_Lookup): Ditto.
  937. * src/cache/ftcbasic.c (FTC_ImageCache_Lookup): The type
  938. of the internal variable `hash' is changed to FT_PtrDist
  939. from FT_UInt32. (FTC_ImageCache_LookupScaler): Ditto.
  940. (FTC_SBitCache_Lookup): Ditto.
  941. (FTC_SBitCache_LookupScaler): Ditto.
  942. * src/cache/ftccmap.c (FTC_CMapCache_Lookup): Ditto.
  943. * src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Ditto.
  944. Also the type of the internal variable `_idx' is changed to
  945. FT_PtrDist from FT_UFast for better pointer calculation.
  946. 2010-10-24 suzuki toshiya <[email protected]>
  947. [cache] Hide internal macros incompatible with LLP64.
  948. `FT_POINTER_TO_ULONG', `FTC_FACE_ID_HASH', and
  949. `FTC_IMAGE_TYPE_HASH' are enclosed by
  950. FT_CONFIG_OPTION_OLD_INTERNALS and hidden from
  951. normal clients.
  952. For the history of these macros, see the investigation:
  953. http://lists.gnu.org/archive/html/freetype/2010-10/msg00022.html
  954. 2010-10-24 suzuki toshiya <[email protected]>
  955. Change the type of `FT_MEM_VAL' from FT_ULong to FT_PtrDist.
  956. On LLP64 platforms (e.g. Win64), unsigned long (32-bit)
  957. cannot cover the memory address (64-bit). `FT_MEM_VAL' is
  958. used for hashing only and not dereferred, so using signed
  959. type FT_PtrDist is safe.
  960. * src/base/ftdbgmem.c (FT_MEM_VAL): Change the type of the
  961. return value from FT_ULong to FT_PtrDist.
  962. (ft_mem_table_resize): The type of hash is changed to
  963. FT_PtrDist. (ft_mem_table_get_nodep): Ditto.
  964. 2010-10-24 suzuki toshiya <[email protected]>
  965. Replace "%lx" for memory address by "%p", LLP64 platforms.
  966. On LLP64 platforms (e.g. Win64), long (32-bit) cannot cover
  967. the memory address (64-bit). Also the casts from the pointer
  968. type to long int should be removed to preserve the address
  969. correctly.
  970. * src/raster/ftraster.c (New_Profile): Replace "%lx" by "%p".
  971. (End_Profile) Ditto.
  972. * src/truetype/ttinterp.c (Init_Context): Ditto.
  973. 2010-10-15 Alexei Podtelezhnikov <[email protected]>
  974. Fix thinko in spline flattening.
  975. FT_MAX_CURVE_DEVIATION is dependent on the value of ONE_PIXEL.
  976. * src/smooth/ftgrays.c (FT_MAX_CURVE_DEVIATION): Remove it and
  977. replace it everywhere with ONE_PIXEL/8.
  978. 2010-10-13 suzuki toshiya <[email protected]>
  979. [raccess] Skip unrequired resource access rules by Darwin VFS.
  980. When a resource fork access rule by Darwin VFS could open the
  981. resource fork but no font is found in it, the rest of rules
  982. by Darwin VFS are skipped. It reduces the warnings of the
  983. deprecated resource fork access method by recent Darwin kernel.
  984. Fix MacPorts ticket #18859:
  985. http://trac.macports.org/ticket/18859
  986. * src/base/ftobjs.c (load_face_in_embedded_rfork):
  987. When `FT_Stream_New' returns FT_Err_Cannot_Open_Stream, it
  988. means that the file is possible to be `fopen'-ed but zero-sized.
  989. Also there is a case that the resource fork is not zero-sized,
  990. but no supported font exists in it. If a rule by Darwin VFS
  991. falls into such cases, there is no need to try other Darwin VFS
  992. rules anymore. Such cases are marked by vfs_rfork_has_no_font.
  993. If it is TRUE, the Darwin VFS rules are skipped.
  994. 2010-10-13 suzuki toshiya <[email protected]>
  995. [raccess] Grouping resource access rules based on Darwin VFS.
  996. MacOS X/Darwin kernel supports a few tricky methods to access
  997. a resource fork via ANSI C or POSIX interface. Current resource
  998. fork accessor tries all possible methods to support all kernels.
  999. But if a method could open a resource fork but no font is found,
  1000. there is no need to try other methods older than tested method.
  1001. To determine whether the rule index is for Darwin VFS, a local
  1002. function `ftrfork.c::raccess_rule_by_darwin_vfs' is introduced.
  1003. To use this function in ftobjs.c etc but it should be inlined,
  1004. it is exposed by ftbase.h.
  1005. * src/base/ftrfork.c (FT_RFork_Rule): New enum type to identify
  1006. the rules to access the resource fork.
  1007. (raccess_guess_rec): New structure to bind the rule function and
  1008. rule enum type.
  1009. (FT_Raccess_Guess): The list of the rule functions is replaced by
  1010. (raccess_guess_table): This. This is exposed to be used by other
  1011. intra module functions.
  1012. (raccess_rule_by_darwin_vfs): A function to return a boolean
  1013. if the rule specified by the rule index is based on Darwin VFS.
  1014. 2010-10-13 suzuki toshiya <[email protected]>
  1015. Prevent to open a FT_Stream for zero-sized file on non-Unix.
  1016. builds/unix/ftsystem.c prevents to open an useless stream from
  1017. zero-sized file and returns FT_Err_Cannot_Open_Stream, but the
  1018. stream drivers for ANSI C, Amiga and VMS return useless streams.
  1019. For cross-platform consistency, all stream drivers should act
  1020. same.
  1021. * src/base/ftsystem.c (FT_Stream_Open): If the size of the opened
  1022. file is zero, FT_Err_Cannot_Open_Stream is returned.
  1023. * builds/amiga/src/base/ftsystem.c (FT_Stream_Open): Ditto.
  1024. * src/vms/ftsystem.c (FT_Stream_Open): Ditto.
  1025. 2010-10-12 Werner Lemberg <[email protected]>
  1026. Fix Savannah bug #31310.
  1027. * src/truetype/ttgxvar.c (ft_var_readpackedpoints): Protect against
  1028. invalid `runcnt' values.
  1029. 2010-10-08 Chris Liddell <[email protected]>
  1030. Fix Savannah bug #31275.
  1031. * src/sfnt/ttpost.c: Include FT_INTERNAL_DEBUG_H.
  1032. 2010-10-06 Werner Lemberg <[email protected]>
  1033. [truetype] Improve error handling of `SHZ' bytecode instruction.
  1034. Problem reported by Chris Evans <[email protected]>.
  1035. * src/truetype/ttinterp.c (Ins_SHZ): Check `last_point'.
  1036. 2010-10-05 Werner Lemberg <[email protected]>
  1037. Fix Savannah bug #31253.
  1038. Patch submitted by an anonymous reporter.
  1039. * configure: Use `awk' instead of `sed' to manipulate output of `ls
  1040. -id'.
  1041. 2010-10-03 Werner Lemberg <[email protected]>
  1042. * Version 2.4.3 released.
  1043. =========================
  1044. Tag sources with `VER-2-4-3'.
  1045. * docs/CHANGES: Updated.
  1046. * docs/VERSION.DLL: Update documentation and bump version number to
  1047. 2.4.3
  1048. * README, Jamfile (RefDoc),
  1049. builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
  1050. builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
  1051. builds/win32/visualc/freetype.dsp,
  1052. builds/win32/visualc/freetype.vcproj,
  1053. builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
  1054. builds/win32/visualce/freetype.vcproj,
  1055. builds/win32/visualce/index.html,
  1056. builds/wince/vc2005-ce/freetype.vcproj,
  1057. builds/wince/vc2005-ce/index.html,
  1058. builds/wince/vc2008-ce/freetype.vcproj,
  1059. builds/wince/vc2008-ce/index.html: s/2.4.2/2.4.3/, s/242/243/.
  1060. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 3.
  1061. * builds/unix/configure.raw (version_info): Set to 12:1:6.
  1062. 2010-10-03 Werner Lemberg <[email protected]>
  1063. Avoid `configure' issues with symbolic links.
  1064. Based on a patch from Alexander Stohr <[email protected]>.
  1065. * configure: Compare directories using `ls -id'.
  1066. Check existence of `reference' subdirectory before creating it.
  1067. 2010-10-02 Werner Lemberg <[email protected]>
  1068. Fix Savannah bug #31088 (sort of).
  1069. * src/sfnt/ttload.c (tt_face_load_maxp): Always allocate at least 64
  1070. function entries.
  1071. 2010-10-02 Werner Lemberg <[email protected]>
  1072. [smooth] Fix splitting of cubics for negative values.
  1073. Reported by Róbert Márki <[email protected]>; see
  1074. http://lists.gnu.org/archive/html/freetype/2010-09/msg00019.html.
  1075. * src/smooth/ftgrays.c (gray_render_cubic): Fix thinko.
  1076. 2010-10-01 suzuki toshiya <[email protected]>
  1077. Fix Savannah bug #31040.
  1078. * src/truetype/ttinterp.c (free_buffer_in_size): Remove.
  1079. (TT_RunIns): Updated.
  1080. 2010-09-20 suzuki toshiya <[email protected]>
  1081. [sfnt] Make error message filling NULL names less verbose.
  1082. * src/sfnt/ttpost.c (load_format_20): Showing 1 summary message
  1083. when we fill `post' names by NULL, instead of per-entry message.
  1084. 2010-09-20 Graham Asher <[email protected]>
  1085. David Bevan <[email protected]>
  1086. [smooth] Fix and improve spline flattening.
  1087. This fixes the flattening of cubic, S-shaped curves and speeds up
  1088. the handling of both the conic and cubic arcs.
  1089. See the discussions on the freetype-devel mailing list in late
  1090. August and September 2010 for details.
  1091. * src/smooth/ftgrays.c (FT_MAX_CURVE_DEVIATION): New macro.
  1092. (TWorker): Remove `conic_level' and `cubic_level' elements.
  1093. (gray_render_conic): Simplify algorithm.
  1094. (gray_render_cubic): New algorithm; details are given in the code
  1095. comments.
  1096. (gray_convert_glyph): Remove heuristics.
  1097. 2010-09-19 Werner Lemberg <[email protected]>
  1098. Minor fixes.
  1099. * src/cff/cffload.c (cff_charset_compute_cids): `charset->sids[i]'
  1100. is `FT_UShort'.
  1101. (cff_index_access_element): Don't use additions in comparison.
  1102. * src/sfnt/ttpost.c (load_format_20): Make `post_limit' of type
  1103. `FT_Long'.
  1104. Don't use additions in comparison.
  1105. Improve tracing messages.
  1106. (load_format_25, load_post_names): Make `post_limit' of type
  1107. `FT_Long'.
  1108. 2010-09-19 suzuki toshiya <[email protected]>
  1109. [cff] Truncate the element length at the end of the stream.
  1110. See Savannah bug #30975.
  1111. * src/cff/cffload.c (cff_index_access_element): `off2', the offset
  1112. to the next element is truncated at the end of the stream to prevent
  1113. invalid I/O. As `off1', the offset to the requested element has
  1114. been checked by `FT_STREAM_SEEK', `off2' should be checked
  1115. similarly.
  1116. 2010-09-19 suzuki toshiya <[email protected]>
  1117. [cff] Ignore CID > 0xFFFFU.
  1118. See Savannah bug #30975.
  1119. * src/cff/cffload.c (cff_charset_compute_cids): Ignore CID if
  1120. greater than 0xFFFFU. CFF font spec does not mention maximum CID in
  1121. the font, but PostScript and PDF spec define that maximum CID is
  1122. 0xFFFFU.
  1123. 2010-09-19 suzuki toshiya <[email protected]>
  1124. [cff] Make trace message in` cff_charset_load' verbose.
  1125. See Savannah bug #30975.
  1126. * src/cff/cffload.c (cff_charset_load): Report the original `nleft'
  1127. and truncated `nleft'.
  1128. 2010-09-19 suzuki toshiya <[email protected]>
  1129. [cff] Correct `max_cid' from CID array length to max CID.
  1130. See Savannah bug #30975.
  1131. * src/cff/cffload.c (cff_charset_compute_cids): Don't increment
  1132. max_cid after detecting max CID. The array CFF_Charset->cids is
  1133. allocated by max_cid + 1.
  1134. (cff_charset_cid_to_gindex): Permit CID is less than or equal to
  1135. CFF_Charset->max_cid.
  1136. * src/cff/cffobjs.c (cff_face_init): FT_Face->num_glyphs is
  1137. calculated as CFF_Charset->max_cid + 1.
  1138. 2010-09-19 suzuki toshiya <[email protected]>
  1139. [truetype] Sanitize the broken offsets in `loca'.
  1140. See Savannah bug #31040.
  1141. * src/truetype/ttpload.c (tt_face_get_location): If `pos1', the
  1142. offset to the requested entry in `glyf' exceeds the end of the
  1143. table, return offset=0, length=0. If `pos2', the offset to the next
  1144. entry in `glyf' exceeds the end of the table, truncate the entry
  1145. length at the end of `glyf' table.
  1146. 2010-09-19 suzuki toshiya <[email protected]>
  1147. [sfnt] Prevent overrunning in `post' table parser.
  1148. See Savannah bug #31040.
  1149. * src/sfnt/ttpost.c (load_post_names): Get the length of `post'
  1150. table and pass the limit of `post' table to `load_format_20' and
  1151. `load_format_25'.
  1152. (load_format_20): Stop the parsing when we reached at the limit of
  1153. `post' table. If more glyph names are required, they are filled by
  1154. NULL names.
  1155. 2010-09-17 suzuki toshiya <[email protected]>
  1156. [truetype] Don't duplicate size->twilight structure to be freed.
  1157. See Savannah bug #31040 for detail.
  1158. * src/truetype/ttinterp.c (free_buffer_in_size): Don't duplicate
  1159. FT_GlyphZoneRec size->twilight to be freed. If duplicated,
  1160. `FT_FREE' erases the duplicated pointers only and leave original
  1161. pointers. They can cause the double-free crash when the burst
  1162. errors occur in TrueType interpreter and `free_buffer_in_size' is
  1163. invoked repeatedly.
  1164. 2010-09-15 Werner Lemberg <[email protected]>
  1165. Make bytecode debugging with FontForge work again.
  1166. * src/truetype/ttinterp.c (TT_RunIns): Don't call
  1167. `free_buffer_in_size' in case of error if a debugger is active.
  1168. 2010-09-14 Werner Lemberg <[email protected]>
  1169. Improve tracing messages.
  1170. * src/truetype/ttinterp.c (TT_RunIns): Improve wording of tracing
  1171. message.
  1172. * src/truetype/ttobjs.c (tt_size_run_fpgm, tt_size_run_prep): Add
  1173. tracing message.
  1174. * src/truetype/ttgload.c (tt_loader_init): Add tracing message.
  1175. * src/cache/ftcsbits.c (ftc_snode_load): Emit tracing message if
  1176. glyph doesn't fit into a small bitmap container.
  1177. 2010-09-13 Werner Lemberg <[email protected]>
  1178. Fix minor issues reported by <[email protected]>.
  1179. * src/autofit/aflatin.c (af_latin_compute_stem_width): Remove
  1180. redundant conditional check.
  1181. * src/base/ftsynth.c (FT_GlyphSlot_Embolden): Ditto.
  1182. * src/cff/cffload.c (cff_encoding_load): Remove conditional check
  1183. which always evaluates to `true'.
  1184. * src/pshinter/pshalgo.c (ps_glyph_interpolate_strong_points):
  1185. Ditto.
  1186. * src/truetype/ttinterp.c (Ins_IUP): Ditto.
  1187. * src/cid/cidgload.c (cid_slot_load_glyph): Don't check for NULL if
  1188. value is already dereferenced.
  1189. * src/winfonts/winfnt.c (FNT_Load_Glyph): Fix check of `face'.
  1190. 2010-08-31 suzuki toshiya <[email protected]>
  1191. Ignore the environmental setting of LIBTOOL.
  1192. Patch is suggested by Adrian Bunk, to prevent unexpected
  1193. reflection of environmental LIBTOOL. See:
  1194. http://savannah.nongnu.org/patch/?7290
  1195. * builds/unix/unix-cc.in: LIBTOOL is unconditionally set to
  1196. $(FT_LIBTOOL_DIR)/libtool. FT_LIBTOOL_DIR is set to $(BUILD_DIR)
  1197. by default.
  1198. * configure: When configured for the building out of source tee,
  1199. FT_LIBTOOL_DIR is set to $(OBJ_DIR).
  1200. 2010-08-31 suzuki toshiya <[email protected]>
  1201. [truetype] Decrease the trace level catching the interpreter error.
  1202. * src/truetype/ttinterp.c (TT_RunIns): Decrease the trace level
  1203. showing the error when the interpreter returns with an error,
  1204. from` FT_TRACE7' to `FT_TRACE1'.
  1205. 2010-08-30 suzuki toshiya <[email protected]>
  1206. [truetype] Prevent bytecode reuse after the interpretation error.
  1207. * src/truetype/ttinterp.c (free_buffer_in_size): New function to
  1208. free the buffer allocated during the interpretation of this glyph.
  1209. (TT_RunIns): Unset FT_Face->size->{cvt_ready,bytecode_ready} if
  1210. an error occurs in the bytecode interpretation. The interpretation
  1211. of invalid bytecode may break the function definitions and referring
  1212. them in later interpretation is danger. By unsetting these flags,
  1213. `fpgm' and `prep' tables are executed again in next interpretation.
  1214. This fixes Savannah bug #30798, reported by Robert Święcki.
  1215. 2010-08-29 Werner Lemberg <[email protected]>
  1216. [ftraster] Pacify compiler.
  1217. * src/raster/ftraster.c (ft_black_new) [_STANDALONE_]: `memory' is
  1218. not used.
  1219. 2010-08-29 Werner Lemberg <[email protected]>
  1220. [cff] Allow SIDs >= 65000.
  1221. * src/cff/cffload.c (cff_charset_load): Fix change from 2009-03-20:
  1222. The threshold for SIDs is not applicable here. I misinterpreted the
  1223. `SID values 65000 and above are available for implementation use'
  1224. sentence in the CFF specification.
  1225. Problem reported by Ivan Ninčić <[email protected]>.
  1226. 2010-08-28 suzuki toshiya <[email protected]>
  1227. Force hinting when the font lacks its familyname.
  1228. In Type42 or Type11 font embedded in PostScript & PDF, TrueType sfnt
  1229. stream may lack `name' table because they are not required. Hinting
  1230. for nameless fonts is safer for PDFs including embedded Chinese
  1231. fonts. Written by David Bevan, see:
  1232. http://lists.gnu.org/archive/html/freetype-devel/2010-08/msg00021.html
  1233. http://lists.freedesktop.org/archives/poppler/2010-August/006310.html
  1234. * src/truetype/ttobjs.c (tt_check_trickyness): If a NULL pointer by
  1235. nameless font is given, TRUE is returned to enable hinting.
  1236. 2010-08-28 suzuki toshiya <[email protected]>
  1237. Register yet another tricky TrueType font.
  1238. * src/truetype/ttobjs.c (tt_check_trickyness): Add `HuaTianKaiTi?',
  1239. a Kaishu typeface paired with `HuaTianSongTi?' by Huatian
  1240. Information Industry.
  1241. 2010-08-17 Teijo Kinnunen <[email protected]>
  1242. Fix Savannah bug #30788.
  1243. * src/cache/ftccache.c (FTC_Cache_Clear): Check `cache->buckets' for
  1244. NULL too.
  1245. 2010-08-10 Werner Lemberg <[email protected]>
  1246. Try to fix Savannah bug #30717 (and probably #30719 too).
  1247. * src/smooth/ftsmooth.c (ft_smooth_render_generic): Add another
  1248. overflow test for `width' and `height'.
  1249. 2010-08-06 Werner Lemberg <[email protected]>
  1250. * Version 2.4.2 released.
  1251. =========================
  1252. Tag sources with `VER-2-4-2'.
  1253. * docs/CHANGES: Updated.
  1254. * docs/VERSION.DLL: Update documentation and bump version number to
  1255. 2.4.2
  1256. * README, Jamfile (RefDoc),
  1257. builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
  1258. builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
  1259. builds/win32/visualc/freetype.dsp,
  1260. builds/win32/visualc/freetype.vcproj,
  1261. builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
  1262. builds/win32/visualce/freetype.vcproj,
  1263. builds/win32/visualce/index.html,
  1264. builds/wince/vc2005-ce/freetype.vcproj,
  1265. builds/wince/vc2005-ce/index.html,
  1266. builds/wince/vc2008-ce/freetype.vcproj,
  1267. builds/wince/vc2008-ce/index.html: s/2.4.1/2.4.2/, s/241/242/.
  1268. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 2.
  1269. * builds/unix/configure.raw (version_info): Set to 12:0:6.
  1270. 2010-08-06 suzuki toshiya <[email protected]>
  1271. Fix Savannah bug #30648.
  1272. * src/base/ftobjs.c (FT_Done_Library): Specify the order of font
  1273. drivers during the face closing process. Type42 faces should be
  1274. closed before TrueType faces, because a Type42 face refers to
  1275. another internal TrueType face which is created from sfnt[] array on
  1276. the memory.
  1277. 2010-08-06 Yuriy Kaminskiy <[email protected]>
  1278. [raster] Fix valgrind warning.
  1279. * src/raster/ftraster.c (Decompose_Curve) <default>: Access point[0]
  1280. only if we don't hit `limit'.
  1281. 2010-08-06 suzuki toshiya <[email protected]>
  1282. Fix Savannah bug #30658.
  1283. * src/base/ftobjs.c (Mac_Read_POST_Resource): Check that the total
  1284. length of collected POST segments does not overrun the allocated
  1285. buffer.
  1286. 2010-08-06 Yuriy Kaminskiy <[email protected]>
  1287. Fix conditional usage of FT_MulFix_i386.
  1288. With -ansi flag, gcc does not define `i386', only `__i386__'.
  1289. * include/freetype/config/ftconfig.h, builds/unix/ftconfig.in:
  1290. s/i386/__i386__/.
  1291. 2010-08-05 Werner Lemberg <[email protected]>
  1292. Fix Savannah bug #30657.
  1293. * src/truetype/ttinterp.c (BOUNDSL): New macro.
  1294. Change `BOUNDS' to `BOUNDSL' where appropriate.
  1295. * src/truetype/ttinterp.h (TT_ExecContextRec): Fix type of
  1296. `cvtSize'.
  1297. 2010-08-05 Werner Lemberg <[email protected]>
  1298. Fix Savannah bug #30656.
  1299. * src/type42/t42parse.c (t42_parse_sfnts): Protect against negative
  1300. string_size.
  1301. Fix comparison.
  1302. 2010-08-05 suzuki toshiya <[email protected]>
  1303. [cff] Don't use any values in decoder after parsing error.
  1304. * src/cff/cffgload.c (cff_slot_load): Skip the evaluations
  1305. of the values in decoder, if `cff_decoder_parse_charstrings'
  1306. returns any error.
  1307. 2010-08-04 Werner Lemberg <[email protected]>
  1308. Fix Savannah bug #30644.
  1309. * src/base/ftstream.c (FT_Stream_EnterFrame): Fix comparison.
  1310. 2010-08-04 Werner Lemberg <[email protected]>
  1311. `make devel' fails if FT_CONFIG_OPTION_OLD_INTERNALS is set.
  1312. * devel/ftoption.h: Synchronize with
  1313. include/freetype/config/ftoption.h.
  1314. 2010-08-04 suzuki toshiya <[email protected]>
  1315. [cff] Improve stack overflow test.
  1316. * src/cff/cffgload.c (cff_decoder_parse_charstrings): Check stack
  1317. after execution of operations too.
  1318. 2010-07-18 Werner Lemberg <[email protected]>
  1319. Add reference counters and to FT_Library and FT_Face objects.
  1320. * include/freetype/freetype.h (FT_Reference_Face): New function.
  1321. * include/freetype/ftmodapi.h (FT_Rererence_Library): New function.
  1322. * include/freetype/internal/ftobjs.h (FT_Face_InternalRec,
  1323. FT_LibraryRec): New field `refcount'.
  1324. * src/base/ftobjs.c (FT_Open_Face, FT_New_Library): Handle
  1325. `refcount'.
  1326. (FT_Reference_Face, FT_Reference_Library): Implement new functions.
  1327. (FT_Done_Face, FT_Done_Library): Handle `refcount'.
  1328. * docs/CHANGES: Updated.
  1329. 2010-07-18 Werner Lemberg <[email protected]>
  1330. * Version 2.4.1 released.
  1331. =========================
  1332. Tag sources with `VER-2-4-1'.
  1333. * docs/CHANGES: Updated.
  1334. * docs/VERSION.DLL: Update documentation and bump version number to
  1335. 2.4.1.
  1336. * README, Jamfile (RefDoc),
  1337. builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
  1338. builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
  1339. builds/win32/visualc/freetype.dsp,
  1340. builds/win32/visualc/freetype.vcproj,
  1341. builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
  1342. builds/win32/visualce/freetype.vcproj,
  1343. builds/win32/visualce/index.html,
  1344. builds/wince/vc2005-ce/freetype.vcproj,
  1345. builds/wince/vc2005-ce/index.html,
  1346. builds/wince/vc2008-ce/freetype.vcproj,
  1347. builds/wince/vc2008-ce/index.html: s/2.4.0/2.4.1/, s/240/241/.
  1348. * include/freetype/freetype.h (FREETYPE_PATCH): Set to 1.
  1349. * builds/unix/configure.raw (version_info): Set to 11:1:5.
  1350. 2010-07-17 Werner Lemberg <[email protected]>
  1351. [cff] Final try to fix `hintmask' and `cntrmask' limit check.
  1352. Problem reported by Tobias Wolf <[email protected]>.
  1353. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  1354. <cff_op_hintmask>: Sigh. I'm apparently too silly to fix this
  1355. correctly in less than three tries.
  1356. 2010-07-12 Werner Lemberg <[email protected]>
  1357. * Version 2.4.0 released.
  1358. =========================
  1359. Tag sources with `VER-2-4-0'.
  1360. * docs/CHANGES: Updated.
  1361. * docs/VERSION.DLL: Update documentation and bump version number to
  1362. 2.4.0.
  1363. * README, Jamfile (RefDoc),
  1364. builds/win32/vc2005/freetype.vcproj, builds/win32/vc2005/index.html,
  1365. builds/win32/vc2008/freetype.vcproj, builds/win32/vc2008/index.html,
  1366. builds/win32/visualc/freetype.dsp,
  1367. builds/win32/visualc/freetype.vcproj,
  1368. builds/win32/visualc/index.html, builds/win32/visualce/freetype.dsp,
  1369. builds/win32/visualce/freetype.vcproj,
  1370. builds/win32/visualce/index.html,
  1371. builds/wince/vc2005-ce/freetype.vcproj,
  1372. builds/wince/vc2005-ce/index.html,
  1373. builds/wince/vc2008-ce/freetype.vcproj,
  1374. builds/wince/vc2008-ce/index.html: s/2.3.12/2.4.0/, s/2312/240/.
  1375. * include/freetype/freetype.h (FREETYPE_MINOR): Set to 4.
  1376. (FREETYPE_PATCH): Set to 0.
  1377. * builds/unix/configure.raw (version_info): Set to 11:0:5.
  1378. 2010-07-12 Werner Lemberg <[email protected]>
  1379. Remove C++ warnings.
  1380. */*: Initialize pointers where necessary to make g++ happy.
  1381. 2010-07-12 malc <[email protected]>
  1382. Richard Henderson <[email protected]>
  1383. Fix type-punning issues with C++.
  1384. * include/freetype/internal/ftmemory.h (FT_ASSIGNP) [__cplusplus]:
  1385. Emulate a `typeof' operator with an inline template which uses
  1386. `static_cast'.
  1387. 2010-07-11 Werner Lemberg <[email protected]>
  1388. Fix C++ compilation issue.
  1389. * src/tools/apinames.c (names_dump) <OUTPUT_WATCOM_LBC>: Fix
  1390. type of `dot' variable.
  1391. 2010-07-10 suzuki toshiya <[email protected]>
  1392. Fix another case reported in Savannah bug #30373.
  1393. Permit a face for Type1, Type42 and CFF without charmap,
  1394. patch by Tor Andersson.
  1395. * src/type1/t1objs.c (T1_Face_Init): Reset the error if it
  1396. is FT_Err_No_Unicode_Glyph_Name.
  1397. * src/type42/t42objs.c (T42_Face_Init): Ditto.
  1398. * src/cff/cffobjs.c (cff_face_init): Ditto.
  1399. 2010-07-09 suzuki toshiya <[email protected]>
  1400. Use defined macros to set {platform,encoding}_id.
  1401. * src/bdf/bdfdrivr.c: Include ttnameid.h and use macros to
  1402. set charmap.{platfom,encoding}_id.
  1403. * src/pcf/pcfdrivr.c: Ditto.
  1404. * src/winfonts/winfnt.c: Ditto.
  1405. * src/type1/t1objs.c: Ditto.
  1406. * src/type42/t42objs.c: Ditto.
  1407. * src/cff/cffobjs.c: Ditto.
  1408. * src/pfr/pfrobjs.c: Ditto.
  1409. 2010-07-09 suzuki toshiya <[email protected]>
  1410. Fix Savannah bug #30373.
  1411. Too serious check of errors by `FT_CMap_New' since 2010-07-04
  1412. is fixed. Reported by Tor Andersson.
  1413. * include/freetype/fterrdef.h
  1414. (PSnames_Err_No_Unicode_Glyph_Name): New error code to
  1415. indicate the Unicode charmap synthesis failed because
  1416. no Unicode glyph name is found.
  1417. * src/psnames/psmodule.c (ps_unicodes_init): Return
  1418. PSnames_Err_No_Unicode_Glyph_Name when no Unicode glyph name
  1419. is found in the font.
  1420. * src/cff/cffcmap.c (cff_cmap_unicode_init): Return
  1421. CFF_Err_No_Unicode_Glyph_Name when no SID is available.
  1422. * src/type1/t1objs.c (T1_Face_Init): Proceed if `FT_CMap_New'
  1423. is failed by the lack of Unicode glyph name.
  1424. * src/type42/t42objs.c (T42_Face_Init): Ditto.
  1425. * src/cff/cffobjs.c (cff_face_init): Ditto.
  1426. 2010-07-09 Ken Sharp <[email protected]>
  1427. Make ftraster.c compile in stand-alone mode with MSVC compiler.
  1428. * src/raster/ftmisc.h (FT_Int64) [_WIN32, _WIN64]: Fix typedef
  1429. since there is no `inttypes.h' for MSVC.
  1430. 2010-07-08 Werner Lemberg <[email protected]>
  1431. Fix Savannah bug #30361.
  1432. * src/truetype/ttinterp.c (Ins_IUP): Fix bounds check.
  1433. 2010-07-06 Werner Lemberg <[email protected]>
  1434. Pacify compiler.
  1435. * src/cff/cffload.c (cff_index_get_pointers): Initialize
  1436. `new_bytes'.
  1437. 2010-07-05 Eugene A. Shatokhin <[email protected]>
  1438. Fix Savannah bug #27648.
  1439. * src/base/ftobjs.c (ft_remove_renderer, FT_Add_Module): Call
  1440. `raster_done' only if we have an outline glyph format.
  1441. 2010-07-05 Werner Lemberg <[email protected]>
  1442. Fix Savannah bug #30030.
  1443. * builds/win32/*/freetype.vcproj: Add ftxf86.c.
  1444. 2010-07-05 Werner Lemberg <[email protected]>
  1445. [cff] Next try to fix `hintmask' and `cntrmask' limit check.
  1446. Problem reported by malc <[email protected]>.
  1447. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  1448. <cff_op_hintmask>: It is possible that there is just a single byte
  1449. after the `hintmask' or `cntrmask', e.g., a `return' instruction.
  1450. 2010-07-04 suzuki toshiya <[email protected]>
  1451. Restrict the number of the charmaps in a rogue-compatible mode.
  1452. Fix for Savannah bug #30059.
  1453. * src/cache/ftccmap.c (FTC_CMapCache_Lookup): Replace `16' the
  1454. minimum character code passed by a legacy rogue client by...
  1455. * include/freetype/config/ftoption.h (FT_MAX_CHARMAP_CACHEABLE):
  1456. This. It is undefined when FT_CONFIG_OPTION_OLD_INTERNALS is
  1457. undefined (thus the rogue client compatibility is not required).
  1458. * src/cff/cffobjs.c (cff_face_init): Abort the automatic
  1459. selection or synthesis of Unicode cmap subtable when the charmap
  1460. index exceeds FT_MAX_CHARMAP_CACHEABLE.
  1461. * src/sfnt/ttcmap.c (tt_face_build_cmaps): Issue error message
  1462. when the charmap index exceeds FT_MAX_CHARMAP_CACHEABLE.
  1463. * src/base/ftobjs.c (find_unicode_charmap): When Unicode charmap
  1464. is found after FT_MAX_CHARMAP_CACHEABLE, ignore it and search
  1465. earlier one.
  1466. (find_variant_selector_charmap): When UVS charmap is found after
  1467. FT_MAX_CHARMAP_CACHEABLE, ignore it and search earlier one.
  1468. (FT_Select_Charmap): When a charmap matching with requested
  1469. encoding but after FT_MAX_CHARMAP_CACHEABLE, ignore and search
  1470. earlier one.
  1471. (FT_Set_Charmap): When a charmap matching with requested
  1472. charmap but after FT_MAX_CHARMAP_CACHEABLE, ignore and search
  1473. earlier one.
  1474. (FT_Get_Charmap_Index): When a requested charmap is found
  1475. after FT_MAX_CHARMAP_CACHEABLE, return the inverted charmap
  1476. index.
  1477. 2010-07-04 Werner Lemberg <[email protected]>
  1478. TrueType hinting is no longer patented.
  1479. * include/freetype/config/ftoption.h, devel/ftoption.h
  1480. (TT_CONFIG_OPTION_BYTECODE_INTERPRETER): Define.
  1481. (TT_CONFIG_OPTION_UNPATENTED_HINTING): Undefine.
  1482. * docs/CHANGES, docs/INSTALL, include/freetype/freetype.h: Updated.
  1483. * docs/TRUETYPE, docs/PATENTS: Removed.
  1484. 2010-07-04 suzuki toshiya <[email protected]>
  1485. Check error value by `FT_CMap_New'.
  1486. * src/cff/cffobjs.c (cff_face_init): Check error value by
  1487. `FT_CMap_New'.
  1488. * src/pfr/pfrobjs.c (pfr_face_init): Ditto.
  1489. * src/type1/t1jobjs.c (T1_Face_Init): Ditto.
  1490. * src/type42/t42jobjs.c (T42_Face_Init): Ditto.
  1491. 2010-07-03 Werner Lemberg <[email protected]>
  1492. Make ftgrays.c compile stand-alone again.
  1493. * src/smooth/ftgrays.c [_STANDALONE_]: Include `stddef.h'.
  1494. (FT_INT_MAX, FT_PtrDist)[_STANDALONE_]: Define.
  1495. 2010-07-02 suzuki toshiya <[email protected]>
  1496. Additional fix for Savannah bug #30306.
  1497. * src/base/ftobjs.c (Mac_Read_POST_Resource): If the type of the
  1498. POST fragment is 0, the segment is completely ignored. The declared
  1499. length of the segment is not cared at all. According to Adobe
  1500. Technical Note 5040, type 0 segment is a comment only and should not
  1501. be loaded for the interpreter. Reported by Robert Święcki.
  1502. 2010-07-01 Werner Lemberg <[email protected]>
  1503. [truetype] Protect against code range underflow.
  1504. * src/truetype/ttinterp.c (DO_JROT, DO_JMPR, DO_JROF): Don't allow
  1505. negative IP values.
  1506. 2010-07-01 Werner Lemberg <[email protected]>
  1507. [truetype] Add rudimentary tracing for bytecode instructions.
  1508. * src/truetype/ttinterp.c (opcode_name) [FT_DEBUG_LEVEL_TRACE]: New
  1509. array.
  1510. (TT_RunIns): Trace opcodes.
  1511. 2010-06-30 Werner Lemberg <[email protected]>
  1512. Fix Savannah bug #30263.
  1513. * src/smooth/ftgrays.c (gray_render_span): Use cast to `unsigned
  1514. int' to avoid integer overflow.
  1515. * src/smooth/ftsmooth.c (ft_smooth_render_generic): Use smaller
  1516. threshold values for `width' and `height'. This is not directly
  1517. related to the bug fix but makes sense anyway.
  1518. 2010-07-01 suzuki toshiya <[email protected]>
  1519. Initial fix for Savannah bug #30306.
  1520. * src/base/ftobjs.c (Mac_Read_POST_Resource): Check `rlen', the
  1521. length of fragment declared in the POST fragment header, and prevent
  1522. an underflow in length calculation. Some fonts set the length to
  1523. zero in spite of the existence of a following 16bit `type'.
  1524. Reported by Robert Święcki.
  1525. 2010-07-01 suzuki toshiya <[email protected]>
  1526. Additional fix for Savannah bug #30248 and #30249.
  1527. * src/base/ftobjs.c (Mac_Read_POST_Resource): Check the buffer size
  1528. during gathering PFB fragments embedded in LaserWriter PS font for
  1529. Macintosh. Reported by Robert Święcki.
  1530. 2010-06-30 Alexei Podtelezhnikov <[email protected]>
  1531. Minor optimizations by avoiding divisions.
  1532. * src/sfnt/ttkern.c (tt_face_load_kern, tt_face_get_kerning):
  1533. Replace divisions with multiplication in comparisons.
  1534. 2010-06-29 Werner Lemberg <[email protected]>
  1535. Fix minor tracing issues.
  1536. * src/cff/cffgload.c, src/truetype/ttgload.c: Adjust tracing levels.
  1537. 2010-06-27 Werner Lemberg <[email protected]>
  1538. [cff] Really fix `hintmask' and `cntrmask' limit check.
  1539. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  1540. <cff_op_hintmask>: Fix thinko and handle tracing also.
  1541. 2010-06-27 Werner Lemberg <[email protected]>
  1542. Fix valgrind warning.
  1543. * src/base/ftoutln.c (FT_Outline_Get_Orientation): Initialize
  1544. `result' array.
  1545. 2010-06-27 Werner Lemberg <[email protected]>
  1546. [cff] Fix memory leak.
  1547. * src/cff/cffgload.c (cff_operator_seac): Free charstrings even in
  1548. case of errors.
  1549. 2010-06-27 Werner Lemberg <[email protected]>
  1550. [cff] Protect against invalid `hintmask' and `cntrmask' operators.
  1551. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  1552. <cff_op_hintmask>: Ensure that we don't exceed `limit' while parsing
  1553. the bit masks of the `hintmask' and `cntrmask' operators.
  1554. 2010-06-26 Werner Lemberg <[email protected]>
  1555. Fix PFR change 2010-06-24.
  1556. * src/pfr/pfrgload.c (pfr_glyph_load_simple): Really protect against
  1557. invalid indices.
  1558. 2010-06-26 Werner Lemberg <[email protected]>
  1559. Improve PFR tracing messages.
  1560. * src/pfr/pfrgload.c (pfr_glyph_load_rec): Emit tracing messages for
  1561. simple and compound glyph offsets.
  1562. 2010-06-26 Werner Lemberg <[email protected]>
  1563. Fix last PFR change.
  1564. * src/pfr/pfrobjs.c (pfr_face_init): Fix rejection logic.
  1565. 2010-06-26 Werner Lemberg <[email protected]>
  1566. Fix Savannah bug #30262.
  1567. * src/sfnt/ttload.c (tt_face_load_maxp): Limit `maxComponentDepth'
  1568. arbitrarily to 100 to avoid stack exhaustion.
  1569. 2010-06-26 Werner Lemberg <[email protected]>
  1570. Add some memory checks (mainly for debugging).
  1571. * src/base/ftstream.c (FT_Stream_EnterFrame): Exit with error
  1572. if the frame size is larger than the stream size.
  1573. * src/base/ftsystem.c (ft_ansi_stream_io): Exit with error if
  1574. seeking a position larger than the stream size.
  1575. 2010-06-25 Werner Lemberg <[email protected]>
  1576. Fix Savannah bug #30261.
  1577. * src/pfr/pfrobjs.c (pfr_face_init): Reject fonts which contain
  1578. neither outline nor bitmap glyphs.
  1579. 2010-06-25 Werner Lemberg <[email protected]>
  1580. Fix Savannah bug #30254.
  1581. * src/cff/cffload.c (cff_index_get_pointers): Do sanity check for
  1582. first offset also.
  1583. 2010-06-25 suzuki toshiya <[email protected]>
  1584. Initial fix for Savannah bug #30248 and #30249.
  1585. * src/base/ftobjs.c (Mac_Read_POST_Resource): Check the error during
  1586. reading a PFB fragment embedded in LaserWriter PS font for Macintosh.
  1587. Reported by Robert Święcki.
  1588. 2010-06-24 Werner Lemberg <[email protected]>
  1589. Fix Savannah bug #30247.
  1590. * src/pcf/pcfread.c (pcf_get_metrics): Disallow (invalid) fonts with
  1591. zero metrics.
  1592. 2010-06-24 Graham Asher <[email protected]>
  1593. * src/smooth/ftgrays.c (gray_render_cubic): Fix algorithm.
  1594. The previous version was too aggressive, as demonstrated in
  1595. http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00020.html.
  1596. 2010-06-24 Werner Lemberg <[email protected]>
  1597. */*: Use module specific error names where appropriate.
  1598. 2010-06-24 Werner Lemberg <[email protected]>
  1599. Fix Savannah bug #30236.
  1600. * src/sfnt/ttcmap.c (tt_face_build_cmaps): Improve check for pointer
  1601. to `cmap_table'.
  1602. 2010-06-24 Werner Lemberg <[email protected]>
  1603. Fix Savannah bug #30235.
  1604. * src/pfr/pfrgload.c (pfr_glyph_load_simple): Protect against
  1605. invalid indices if there aren't any coordinates for indexing.
  1606. 2010-06-24 Werner Lemberg <[email protected]>
  1607. [bdf]: Font properties are optional.
  1608. * src/bdf/bdflib.c (_bdf_readstream): Use special error code to
  1609. indicate a redo operation.
  1610. (_bdf_parse_start): Handle `CHARS' keyword here too and pass current
  1611. input line to `_bdf_parse_glyph'.
  1612. 2010-06-23 Werner Lemberg <[email protected]>
  1613. Fix Savannah bug #30220.
  1614. * include/freetype/fterrdef.h
  1615. (BDF_Err_Missing_Fontboundingbox_Field): New error code.
  1616. * src/bdf/bdflib.c (_bdf_parse_start): Check for missing
  1617. `FONTBOUNDINGBOX' field.
  1618. Avoid memory leak if there are multiple `FONT' lines (which is
  1619. invalid but doesn't hurt).
  1620. 2010-06-21 Werner Lemberg <[email protected]>
  1621. Fix Savannah bug #30168.
  1622. * src/pfr/pfrgload.c (pfr_glyph_load_compound): Limit the number of
  1623. subglyphs to avoid endless recursion.
  1624. 2010-06-20 Werner Lemberg <[email protected]>
  1625. Fix Savannah bug #30145.
  1626. * src/psaux/psobjs.c (t1_builder_add_contour): Protect against
  1627. `outline == NULL' which might happen in invalid fonts.
  1628. 2010-06-19 Werner Lemberg <[email protected]>
  1629. Fix Savannah bug #30135.
  1630. * src/bdf/bdflib.c (_bdf_list_join): Don't modify value in static
  1631. string `empty'.
  1632. (_bdf_parse_glyph): Avoid memory leak in case of error.
  1633. 2010-06-15 Werner Lemberg <[email protected]>
  1634. Fix Savannah bug #30108.
  1635. * src/autofit/afglobal.c (af_face_globals_compute_script_coverage):
  1636. Properly mask AF_DIGIT bit in comparison.
  1637. 2010-06-11 Werner Lemberg <[email protected]>
  1638. Fix Savannah bug #30106.
  1639. Point numbers for FreeType's implementation of hinting masks are
  1640. collected before the final number of points of a glyph has been
  1641. determined; in particular, the code for handling the `endchar'
  1642. opcode can reduce the number of points.
  1643. * src/pshinter/pshalgo.c (psh_glyph_find_strong_points): Assure that
  1644. `end_point' is not larger than `glyph->num_points'.
  1645. 2010-06-11 Werner Lemberg <[email protected]>
  1646. [cff]: Improve debugging output.
  1647. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  1648. <cff_op_hintmask>: Implement it.
  1649. 2010-06-10 Graham Asher <[email protected]>
  1650. ftgrays: Speed up rendering of small cubic splines.
  1651. * src/smooth/ftgrays.c (gray_render_cubic): Implement new,
  1652. simplified algorithm to find out whether the spline can be replaced
  1653. with two straight lines. See this thread for more:
  1654. http://lists.gnu.org/archive/html/freetype-devel/2010-06/msg00000.html
  1655. 2010-06-09 Werner Lemberg <[email protected]>
  1656. Fix Savannah bug #30082.
  1657. * src/cff/cffgload.c (cff_decoder_parse_charstrings)
  1658. <cff_op_callothersubr>: Protect against stack underflow.
  1659. 2010-06-08 Werner Lemberg <[email protected]>
  1660. Fix Savannah bug #30053.
  1661. * src/cff/cffparse.c (cff_parse_real): Handle border case where
  1662. `fraction_length' has value 10.
  1663. 2010-06-07 Werner Lemberg <[email protected]>
  1664. Fix Savannah bug #30052.
  1665. This bug has been introduced with commit 2415cbf3.
  1666. * src/base/ftobjs.c (FT_Get_First_Char, FT_Get_Next_Char): Protect
  1667. against endless loop in case of corrupted font header data.
  1668. 2010-05-26 Werner Lemberg <[email protected]>
  1669. Remove unused variable.
  1670. Found by Graham.
  1671. * src/autofit/afhints.c (af_glyph_hints_reload): Remove unused
  1672. variable `first' in first block.
  1673. 2010-05-22 Werner Lemberg <[email protected]>
  1674. Fix various memory problems found by linuxtesting.org.
  1675. * src/base/ftgxval.c (FT_TrueTypeGX_Free, FT_ClassicKern_Free),
  1676. src/base/ftotval.c (FT_OpenType_Free), src/base/ftpfr.c
  1677. (ft_pfr_check): Check `face'.
  1678. * src/base/ftobjs.c (FT_Get_Charmap_Index): Check `charmap' and
  1679. `charmap->face'.
  1680. (FT_Render_Glyph): Check `slot->face'.
  1681. (FT_Get_SubGlyph_Info): Check `glyph->subglyphs'.
  1682. 2010-05-22 Werner Lemberg <[email protected]>
  1683. autofit: Remove dead code.
  1684. Suggested by Graham.
  1685. * src/autofit/afhints.c (af_glyph_hints_compute_inflections):
  1686. Removed.
  1687. (af_glyph_hints_reload): Remove third argument.
  1688. Update all callers.
  1689. 2010-05-21 Bram Tassyns <[email protected]>
  1690. Fix Savannah bug #27987.
  1691. * src/cff/cffobjs.c (remove_subset_prefix): New function.
  1692. (cff_face_init): Use it to adjust `cffface->family_name'.
  1693. 2010-05-20 Werner Lemberg <[email protected]>
  1694. TrueType: Make FreeType ignore maxSizeOfInstructions in `maxp'.
  1695. Acroread does the same.
  1696. * src/truetype/ttgload.c (TT_Process_Composite_Glyph): Call
  1697. `Update_Max' to adjust size of instructions array if necessary and
  1698. add a rough safety check.
  1699. (load_truetype_glyph): Save `loader->byte_len' before recursive
  1700. call.
  1701. * src/truetype/ttinterp.h, src/truetype/ttinterp.c (Update_Max):
  1702. Declare it as FT_LOCAL.
  1703. 2010-05-18 Hongbo Ni <[email protected]>
  1704. Apply Savannah patch #7196.
  1705. * src/cff/cffgload.c (cff_slot_load): Prevent crash if CFF subfont
  1706. index is out of range.
  1707. 2010-05-11 Werner Lemberg <[email protected]>
  1708. * docs/formats.txt: Give pointer to PCF documentation.
  1709. Information provided by Alan Coopersmith
  1710. <[email protected]>.
  1711. 2010-05-10 Ken Sharp <[email protected]>
  1712. Fix Savannah bug #29846.
  1713. Previously we discovered fonts which used `setcurrentpoint' to set
  1714. the initial point of a contour to 0,0. This caused FreeType to
  1715. raise an error, because the `setcurrentpoint' operator is only
  1716. supposed to be used with the results from an OtherSubr subroutine.
  1717. This was fixed by simply ignoring the error and carrying on.
  1718. Now we have found a font which uses setcurrentpoint to actually
  1719. establish a non-zero point for a contour during the course of a
  1720. glyph program. FWIW, these files may be produced by an application
  1721. called `Intaglio' on the Mac, when converting TrueType fonts to
  1722. Type 1.
  1723. The fix allows the new invalid behaviour, the old invalid behaviour
  1724. and real proper usage of the operator to work the same way as Adobe
  1725. interpreters apparently do.
  1726. (t1_decoder_parse_charstrings): Make `setcurrentpoint' use the top
  1727. two elements of the stack to establish unconditionally the current x
  1728. and y coordinates.
  1729. Make the `flex' subroutine handling (OtherSubr 0) put the current
  1730. x,y coordinates onto the stack, instead of two dummy uninitialised
  1731. values.
  1732. 2010-04-14 Ken Sharp <[email protected]>
  1733. Fix Savannah bug #29444.
  1734. * src/psaux/psobjs.c (t1_builder_start_point): Accept (invalid)
  1735. `lineto' immediately after `hsbw', in accordance with Acrobat, GS,
  1736. and others.
  1737. 2010-04-14 Michał Cichoń <[email protected]>
  1738. Fix Savannah bug #27999.
  1739. * src/cache/ftcmanag.c (FTC_Manager_RemoveFaceID): Only remove
  1740. selected entry, not all.
  1741. 2010-04-06 Jonathan Kew <[email protected]>
  1742. Add overflow check to `fvar' table.
  1743. * src/truetype/ttgxvar.c (TT_Get_MM_Var): Check axis and instance
  1744. count.
  1745. 2010-04-05 Ken Sharp <[email protected]>
  1746. Fix Savannah bug #29335.
  1747. * src/raster/ftraster.c (Line_Up): Use slow multiplication to
  1748. prevent overflow. This shouldn't have any serious impact on speed,
  1749. however.
  1750. 2010-04-05 Werner Lemberg <[email protected]>
  1751. Add new function `FT_Library_SetLcdFilterWeights'.
  1752. This is based on code written by Lifter
  1753. <http://unixforum.org/index.php?showuser=11691>. It fixes
  1754. FreeDesktop bug #27386.
  1755. * src/base/ftlcdfil.c (FT_Library_SetLcdFilterWeights): New
  1756. function.
  1757. * include/freetype/ftlcdfil.h: Updated.
  1758. * docs/CHANGES: Updated.
  1759. 2010-04-01 John Tytgat <[email protected]>
  1760. Fix Savannah bug #29404.
  1761. * src/truetype/ttgload.c: Revert change 2752bd1a (check on bit 1
  1762. of `head' table of TrueType fonts).
  1763. 2010-03-14 suzuki toshiya <[email protected]>
  1764. Fix `multi build' for Tytgat's CFF driver improvement.
  1765. * src/base/cffload.h (cff_index_get_name): Added.
  1766. 2010-03-12 suzuki toshiya <[email protected]>
  1767. Remove duplicated inclusion of `FT_OUTLINE_H' in ftobjs.c.
  1768. * src/base/ftobjs.c: Remove 2nd inclusion of `FT_OUTLINE_H'.
  1769. 2010-03-11 Chris Liddell <[email protected]>
  1770. Fix Savannah bug #27442.
  1771. * src/raster/ftraster.c (ft_black_reset): Fix `buffer_size'.
  1772. 2010-03-09 Werner Lemberg <[email protected]>
  1773. Remove unused variable.
  1774. Reported by Graham.
  1775. * src/cff/cffparse.c (cff_parse_real): Remove `rest'.
  1776. 2010-03-02 John Tytgat <[email protected]>
  1777. Improve CFF string (especially glyphname) lookup performance.
  1778. We do this by avoiding memory allocation and file I/O. This is
  1779. Savannah patch #7104.
  1780. * src/cff/cfftypes.h: Include PS cmaps service and
  1781. FT_INTERNAL_POSTSCRIPT_HINTS_H.
  1782. (CFF_SubFontRec): Remove `num_local_subrs'.
  1783. (CFF_FontRec): Add `num_strings', `strings', and `string_pool'
  1784. fields.
  1785. Remove `string_index' and `num_global_subrs' fields.
  1786. Use real types instead of `void' for `pshinter' and `psnames' fields.
  1787. * src/cff/cffload.c: Don't include PS cmaps service.
  1788. (cff_index_get_pointers): Add `pool' parameter which allows to
  1789. insert an extra NUL character for each String INDEX entry.
  1790. (cff_index_get_name): Make it a local function.
  1791. (cff_index_get_string): New function.
  1792. (cff_subfont_load): Updated.
  1793. (cff_font_load): Initialize `num_strings', `strings', and
  1794. `string_pool' fields in the `CFF_FontRec' structure.
  1795. (cff_index_get_sid_string): Use `cff_index_get_string' instead of
  1796. `cff_index_get_name'.
  1797. (cff_font_done): Updated.
  1798. * src/cff/cffload.h: Don't include PS cmaps service.
  1799. (cff_index_get_string): Added.
  1800. (cff_index_get_sid_string): Updated.
  1801. * src/cff/cffobjs.c: Don't include PS cmaps service and
  1802. FT_INTERNAL_POSTSCRIPT_HINTS_H.
  1803. (cff_size_get_globals_funcs, cff_slot_init): Updated.
  1804. (cff_face_init): Follow `cff_index_get_name',
  1805. `cff_index_get_string', and `cff_index_get_sid_string' changes.
  1806. * src/cff/cffcmap.c (cff_sid_free_glyph_name): Removed.
  1807. (cff_sid_to_glyph_name): Use `cff_index_get_cid_string'.
  1808. (cff_cmap_unicode_init): Updated.
  1809. * src/cff/cffdrivr.c: Don't include PS cmap service.
  1810. (cff_get_glyph_name): Avoid unnecessary lookup for POSTSCRIPT_CMAPS
  1811. service.
  1812. (cff_get_glyph_name, cff_ps_get_font_info, cff_get_ros): Follow API
  1813. `cff_index_get_sid_string' change.
  1814. (cff_get_name_index): Use `cff_index_get_string' instead of
  1815. `cff_index_get_name'.
  1816. * src/cff/cffgload.c: Don't include FT_INTERNAL_POSTSCRIPT_HINTS_H.
  1817. (cff_decoder_init, cff_decoder_prepare): Updated.
  1818. 2010-02-27 Werner Lemberg <[email protected]>
  1819. Simplify code.
  1820. Suggested by Behdad.
  1821. * src/base/ftobjs.c (FT_Get_First_Char): Don't use a loop since we
  1822. call FT_Get_Next_Char anyway if necessary.
  1823. 2010-02-26 Behdad Esfahbod <[email protected]>
  1824. Improve handling of invalid glyph indices in char->index functions.
  1825. * src/base/ftobjs.c (FT_Get_First_Char, FT_Get_Next_Char): Use a
  1826. loop.
  1827. 2010-02-18 Chris Liddell <[email protected]>
  1828. Fix Savannah bug #28905.
  1829. Initialize phantom points before calling the incremental interface
  1830. to update glyph metrics.
  1831. * src/truetype/ttgload.c (tt_get_metrics_incr_overrides)
  1832. [FT_CONFIG_OPTION_INCREMENTAL]: New function, split off from...
  1833. (tt_get_metrics): This.
  1834. Updated.
  1835. (load_truetype_glyph): Use tt_get_metrics_incr_overrides.
  1836. ----------------------------------------------------------------------------
  1837. Copyright 2010-2011 by
  1838. David Turner, Robert Wilhelm, and Werner Lemberg.
  1839. This file is part of the FreeType project, and may only be used, modified,
  1840. and distributed under the terms of the FreeType project license,
  1841. LICENSE.TXT. By continuing to use, modify, or distribute this file you
  1842. indicate that you have read the license and understand and accept it
  1843. fully.
  1844. Local Variables:
  1845. version-control: never
  1846. coding: utf-8
  1847. End: