NEWS 98 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081
  1. Overview of changes leading to 6.0.0
  2. Friday, December 16, 2022
  3. ====================================
  4. - A new API have been added to pre-process the face and speed up future
  5. subsetting operations on that face. Provides up to a 95% reduction in
  6. subsetting times when the same face is subset more than once.
  7. For more details and benchmarks, see:
  8. https://github.com/harfbuzz/harfbuzz/blob/main/docs/subset-preprocessing.md
  9. (Garret Rieger, Behdad Esfahbod)
  10. - Shaping have been speedup by skipping entire lookups when the buffer contents
  11. don't intersect with the lookup. Shows up to a 10% speedup in shaping some
  12. fonts. (Behdad Esfahbod)
  13. - A new experimental feature, “Variable Composites” (enabled by passing
  14. -Dexperimental_api=true to meson), is also featured in this release.
  15. This technology enables drastic compression of fonts in the Chinese,
  16. Japanese, Korean, and other writing systems, by reusing the OpenType Font
  17. Variations technology for encoding “smart components” into the font.
  18. The specification for these extensions to the font format can be found in:
  19. https://github.com/harfbuzz/boring-expansion-spec/blob/glyf1/glyf1.md
  20. A test variable-font with ~7160 Hangul syllables derived from the
  21. NotoSerifKR-VF font has been built, with existing OpenType technology, as
  22. well as with the new Variable Composites (VarComposites) technology. The
  23. VarComposites font is over 90% smaller than the OpenType version of the font!
  24. Both fonts can be obtained from the “smarties” repository:
  25. https://github.com/behdad/smarties/tree/3.0/fonts/hangul/serif
  26. When building HarfBuzz with experimental features enabled, you can test
  27. the “smarties” font with a sample character like this:
  28. $ hb-view butchered-hangul-serif-smarties-variable.ttf -u AE01 --variations=wght=700
  29. (Behdad Esfahbod)
  30. - The HarfBuzz subsetter can now drop axes by pinning them to specific values
  31. (also referred to as instancing). There are a couple of restrictions
  32. currently:
  33. - Only works with TrueType (“glyf”) based fonts. “CFF2” fonts are not yet
  34. supported.
  35. - Only supports the case where all axes in a font are pinned.
  36. (Garret Rieger, Qunxin Liu)
  37. - Miscellaneous fixes and improvements.
  38. (Behdad Esfahbod, Christoph Reiter, David Corbett, Eli Schwartz, Garret
  39. Rieger, Joel Auterson, Jordan Petridis, Khaled Hosny, Lorenz Wildberg,
  40. Marco Rebhan, Martin Storsjö, Matthias Clasen, Qunxin Liu, Satadru Pramanik)
  41. - New API
  42. +hb_subset_input_pin_axis_location()
  43. +hb_subset_input_pin_axis_to_default()
  44. +hb_subset_preprocess()
  45. Overview of changes leading to 5.3.1
  46. Wednesday, October 19, 2022
  47. ====================================
  48. - Subsetter repacker fixes. (Garret Rieger)
  49. - Adjust Grapheme clusters for Katakana voiced sound marks. (Behdad Esfahbod)
  50. - New “hb-subset” option “--preprocess-face”. (Garret Rieger)
  51. Overview of changes leading to 5.3.0
  52. Saturday, October 8, 2022
  53. "Women, Life, Freedom" #MahsaAmini
  54. ====================================
  55. - Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs.
  56. (Khaled Hosny)
  57. - Map “rlig” to appropriate AAT feature selectors. (Jonathan Kew)
  58. - Update USE data files to latest version. (David Corbett)
  59. - Check “CBDT” extents first before outline tables, to help with fonts that
  60. also include an empty “glyf” table. (Khaled Hosny)
  61. - More work towards variable font instancing in the subsetter. (Qunxin Liu)
  62. - Subsetter repacker improvements. (Garret Rieger)
  63. - New API:
  64. +hb_ot_layout_lookup_get_optical_bound()
  65. +hb_face_builder_sort_tables()
  66. Overview of changes leading to 5.2.0
  67. Saturday, September 17, 2022
  68. ====================================
  69. - Fix regressions in hb-ft font functions for FT_Face’s with transformation
  70. matrix. (Behdad Esfahbod)
  71. - The experimental hb-repacker API now supports splitting several GPOS subtable
  72. types when needed. (Garret Rieger)
  73. - The HarfBuzz extensions to OpenType font format are now opt-in behind
  74. build-time flags. (Behdad Esfahbod)
  75. - The experimental hb-subset variable fonts instantiation API can now
  76. instantiate more font tables and arbitrary axis locations. (Qunxin Liu)
  77. - Unicode 15 support. (David Corbett)
  78. - Various documentation improvements. (Behdad Esfahbod, Matthias Clasen)
  79. - The hb-view command line tool now detects WezTerm inline images support.
  80. (Wez Furlong)
  81. - Fix FreeType and ICU dependency lookup with meson. (Xavier Claessens)
  82. - New API:
  83. +HB_SCRIPT_KAWI
  84. +HB_SCRIPT_NAG_MUNDARI
  85. Overview of changes leading to 5.1.0
  86. Sunday, July 31, 2022
  87. ====================================
  88. - More extensive buffer tracing messages. (Behdad Esfahbod)
  89. - Fix hb-ft regression in bitmap fonts rendering. (Behdad Esfahbod)
  90. - Support extension promotion of lookups in hb-subset-repacker. (Garret Rieger)
  91. - A new HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL for scripts that use elongation
  92. (e.g. Arabic) to signify where it is safe to insert tatweel glyph without
  93. interrupting shaping. (Behdad Esfahbod)
  94. - Add “--safe-to-insert-tatweel” to “hb-shape” tool. (Behdad Esfahbod)
  95. - New API
  96. +HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL
  97. +HB_BUFFER_FLAG_PRODUCE_SAFE_TO_INSERT_TATWEEL
  98. Overview of changes leading to 5.0.1
  99. Saturday, July 23, 2022
  100. ====================================
  101. - Fix version 2 “avar” table with hb-ft. (Behdad Esfahbod)
  102. Overview of changes leading to 5.0.0
  103. Saturday, July 23, 2022
  104. ====================================
  105. - Support fonts with more than 65535 glyphs in “GDEF”, “GSUB”, and “GPOS”
  106. tables. This is part of https://github.com/be-fonts/boring-expansion-spec to
  107. extend OpenType in a backward-compatible way.
  108. (Behdad Esfahbod, Garret Rieger)
  109. - Complete support for more than 65535 glyphs in “glyf” table that started in
  110. 4.0.0 release. Part of boring-expansion-spec. (Behdad Esfahbod)
  111. - Support version 2 of “avar” table. Part of boring-expansion-spec.
  112. (Behdad Esfahbod)
  113. - Fix mark attachment on multiple substitutions in some cases.
  114. (Behdad Esfahbod)
  115. - Fix application of “calt”, “rclt”, and “ccmp” features to better match
  116. Uniscribe behaviour with some Arabic fonts. (Behdad Esfahbod)
  117. - Improvement to interaction between multiple cursive attachments.
  118. (Behdad Esfahbod)
  119. - Improve multiple mark interactions in Hebrew. (Behdad Esfahbod)
  120. - Implement language-specific forms in AAT shaping. (Behdad Esfahbod)
  121. - Fix variation of “VORG” table. (Behdad Esfahbod)
  122. - Support for specific script tags to be retained in the subsetter, and add
  123. “--layout-scripts” option to “hb-subset” tool. (Garret Rieger)
  124. - Accept space as delimiter for --features/--variations in command line tools.
  125. - Improve subsetting of “COLR” table. (Qunxin Liu)
  126. - Improved fuzzing coverage for ot-math API. (Frédéric Wang)
  127. - Fix “kern” table version 2 (AAT) sanitization on 32-bit systems.
  128. (Behdad Esfahbod)
  129. - Allow negative glyph advances from “graphite2” shaper. (Stephan Bergmann)
  130. - Implement loading (color) bitmap fonts with hb-ft. (Behdad Esfahbod)
  131. - Fix regression in hb-ft when changing font size. (Behdad Esfahbod)
  132. - Fix build on GCC < 7. (Kleis Auke Wolthuizen)
  133. - Dynamically load dwrite.dll on windows if “directwrite” shaper is enabled.
  134. (Luca Bacci)
  135. - Provide a single-file harfbuzz-subset.cc file for easier alternate building
  136. of hb-subset library, similar to harfbuzz.cc. (Khaled Hosny)
  137. - New API
  138. +HB_SUBSET_SETS_LAYOUT_SCRIPT_TAG
  139. +hb_language_matches()
  140. Overview of changes leading to 4.4.1
  141. Wednesday, June 29, 2022
  142. ====================================
  143. - Fix test failure with some compilers.
  144. - Fix Telugu and Kannada kerning regression.
  145. Overview of changes leading to 4.4.0
  146. Monday, June 27, 2022
  147. ====================================
  148. - Caching of variable fonts shaping, in particular when using HarfBuzz’s own
  149. font loading functions (ot). Bringing performance of variable shaping in par
  150. with non-variable fonts shaping. (Behdad Esfahbod)
  151. - Caching of format 2 “Contextual Substitution” and “Chained Contexts
  152. Substitution” lookups. Resulting in up to 20% speedup of lookup-heavy fonts
  153. like Gulzar or Noto Nastaliq Urdu. (Behdad Esfahbod)
  154. - Improved ANSI output from hb-view. (Behdad Esfahbod)
  155. - Support for shaping legacy, pre-OpenType Windows 3.1-era, Arabic fonts that
  156. relied on a fixed PUA encoding. (Khaled Hosny, Behdad Esfahbod)
  157. - Sinhala script is now shaped by the USE shaper instead of “indic” one.
  158. (Behdad Esfahbod, David Corbett)
  159. - Thai shaper improvements. (David Corbett)
  160. - hb-ot-name API supports approximate BCP-47 language matching, for example
  161. asking for “en_US” in a font that has only “en” names will return them.
  162. (Behdad Esfahbod)
  163. - Optimized TrueType glyph shape loading. (Behdad Esfahbod)
  164. - Fix subsetting of HarfBuzz faces created via hb_face_create_for_tables().
  165. (Garret Rieger)
  166. - Add 32 bit var store support to the subsetter. (Garret Rieger)
  167. - New API
  168. +HB_BUFFER_FLAG_DEFINED
  169. +HB_BUFFER_SERIALIZE_FLAG_DEFINED
  170. +hb_font_changed()
  171. +hb_font_get_serial()
  172. +hb_ft_hb_font_changed()
  173. +hb_set_hash()
  174. +hb_map_copy()
  175. +hb_map_hash()
  176. Overview of changes leading to 4.3.0
  177. Friday, May 20, 2022
  178. ====================================
  179. - Major speed up in loading and subsetting fonts, especially in
  180. handling CFF table. Subsetting some fonts is now 3 times faster.
  181. (Behdad Esfahbod, Garret Rieger)
  182. - Speed up blending CFF2 table. (Behdad Esfahbod)
  183. - Speed up hb_ot_tags_from_language(). (Behdad Esfahbod, David Corbett)
  184. - Fix USE classification of U+10A38 to fix multiple marks on single Kharoshthi
  185. base. (David Corbett)
  186. - Fix parsing of empty CFF Index. (Behdad Esfahbod)
  187. - Fix subsetting CPAL table with partial palette overlaps. (Garret Rieger)
  188. - New API
  189. +hb_map_is_equal() (Behdad Esfahbod)
  190. Overview of changes leading to 4.2.1
  191. Sunday, April 24, 2022
  192. ====================================
  193. - Make sure hb_blob_create_from_file_or_fail() always returns nullptr in case
  194. of failure and not empty blob sometimes. (Khaled Hosny)
  195. - Add --passthrough-tables option to hb-subset. (Cosimo Lupo)
  196. - Reinstate a pause after basic features in Khmer shaper, fixing a regression
  197. introduced in previous release. (Behdad Esfahbod)
  198. - Better handling of Regional_Indicator when shaped with RTL-native scripts,
  199. reverting earlier fix that caused regressions in AAT shaping. (Behdad Esfahbod)
  200. Overview of changes leading to 4.2.0
  201. Wednesday, March 30, 2022
  202. ====================================
  203. - Source code reorganization, splitting large hb-ot-layout files into smaller,
  204. per-subtable ones under OT/Layout/*. Code for more tables will follow suit in
  205. later releases. (Garret Rieger, Behdad Esfahbod)
  206. - Revert Indic shaper change in previous release that broke some fonts and
  207. instead make per-syllable restriction of “GSUB” application limited to
  208. script-specific Indic features, while applying them and discretionary
  209. features in one go. (Behdad Esfahbod)
  210. - Fix decoding of private in gvar table. (Behdad Esfahbod)
  211. - Fix handling of contextual lookups that delete too many glyphs. (Behdad Esfahbod)
  212. - Make “morx” deleted glyphs don’t block “GPOS” application. (Behdad Esfahbod)
  213. - Various build fixes. (Chun-wei Fan, Khaled Hosny)
  214. - New API
  215. +hb_set_next_many() (Andrew John)
  216. Overview of changes leading to 4.1.0
  217. Wednesday, March 23, 2022
  218. ====================================
  219. - Various OSS-Fuzz fixes. (Behdad Esfahbod)
  220. - Make fallback vertical-origin match FreeType’s. (Behdad Esfahbod)
  221. - Treat visible viramas like dependent vowels in USE shaper. (David Corbett)
  222. - Apply presentation forms features and discretionary features in one go in
  223. Indic shaper, which seems to match Uniscribe and CoreText behaviour.
  224. (Behdad Esfahbod, David Corbett)
  225. - Various bug fixes.
  226. - New API
  227. +hb_set_add_sorted_array() (Andrew John)
  228. Overview of changes leading to 4.0.1
  229. Friday, March 11, 2022
  230. ====================================
  231. - Update OpenType to AAT mappings for “hist” and “vrtr” features.
  232. (Florian Pircher)
  233. - Update IANA Language Subtag Registry to 2022-03-02. (David Corbett)
  234. - Update USE shaper to allow any non-numeric tail in a symbol cluster, and
  235. remove obsolete data overrides. (David Corbett)
  236. - Fix handling of baseline variations to return correctly scaled values.
  237. (Matthias Clasen)
  238. - A new experimental hb_subset_repack_or_fail() to repack an array of objects,
  239. eliminating offset overflows. The API is not available unless HarfBuzz is
  240. built with experimental APIs enabled. (Qunxin Liu)
  241. - New experimental API
  242. +hb_link_t
  243. +hb_object_t
  244. +hb_subset_repack_or_fail()
  245. Overview of changes leading to 4.0.0
  246. Tuesday, March 1, 2022
  247. ====================================
  248. - New public API to create subset plan and gather information on things like
  249. glyph mappings in the final subset. The plan can then be passed on to perform
  250. the subsetting operation. (Garret Rieger)
  251. - Draw API for extracting glyph shapes have been extended and finalized and is
  252. no longer an experimental API. The draw API supports glyf, CFF and CFF2
  253. glyph outlines tables, and applies variation settings set on the font as well
  254. as synthetic slant. The new public API is not backward compatible with the
  255. previous, non-public, experimental API. (Behdad Esfahbod)
  256. - The hb-view tool will use HarfBuzz draw API to render the glyphs instead of
  257. cairo-ft when compiled with Cairo 1.17.5 or newer, setting HB_DRAW
  258. environment variable to 1 or 0 will force using or not use the draw API,
  259. respectively. (Behdad Esfahbod)
  260. - The hb-shape and hb-view tools now default to using HarfBuzz’s own font
  261. loading functions (ot) instead of FreeType ones (ft). They also have a new
  262. option, --font-slant, to apply synthetic slant to the font. (Behdad Esfahbod)
  263. - HarfBuzz now supports more than 65535 (the OpenType limit) glyph shapes and
  264. metrics. See https://github.com/be-fonts/boring-expansion-spec/issues/6 and
  265. https://github.com/be-fonts/boring-expansion-spec/issues/7 for details.
  266. (Behdad Esfahbod)
  267. - New API to get the dominant horizontal baseline tag for a given script.
  268. (Behdad Esfahbod)
  269. - New API to get the baseline positions from the font, and synthesize missing
  270. ones. As well as new API to get font metrics and synthesize missing ones.
  271. (Matthias Clasen)
  272. - Improvements to finding dependencies on Windows when building with Visual
  273. Studio. (Chun-wei Fan)
  274. - New buffer flag, HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT, that must be set
  275. during shaping for HB_GLYPH_FLAG_UNSAFE_TO_CONCAT flag to be reliably
  276. produced. This is to limit the performance hit of producing this flag to when
  277. it is actually needed. (Behdad Esfahbod)
  278. - Documentation improvements. (Matthias Clasen)
  279. - New API
  280. - General:
  281. +HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
  282. +hb_var_num_t
  283. - Draw:
  284. +hb_draw_funcs_t
  285. +hb_draw_funcs_create()
  286. +hb_draw_funcs_reference()
  287. +hb_draw_funcs_destroy()
  288. +hb_draw_funcs_is_immutable()
  289. +hb_draw_funcs_make_immutable()
  290. +hb_draw_move_to_func_t
  291. +hb_draw_funcs_set_move_to_func()
  292. +hb_draw_line_to_func_t
  293. +hb_draw_funcs_set_line_to_func()
  294. +hb_draw_quadratic_to_func_t
  295. +hb_draw_funcs_set_quadratic_to_func()
  296. +hb_draw_cubic_to_func_t
  297. +hb_draw_funcs_set_cubic_to_func()
  298. +hb_draw_close_path_func_t
  299. +hb_draw_funcs_set_close_path_func()
  300. +hb_draw_state_t
  301. +HB_DRAW_STATE_DEFAULT
  302. +hb_draw_move_to()
  303. +hb_draw_line_to()
  304. +hb_draw_quadratic_to()
  305. +hb_draw_cubic_to()
  306. +hb_draw_close_path()
  307. +hb_font_get_glyph_shape_func_t
  308. +hb_font_funcs_set_glyph_shape_func()
  309. +hb_font_get_glyph_shape()
  310. - OpenType layout
  311. +HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_CENTRAL
  312. +HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_CENTRAL
  313. +hb_ot_layout_get_horizontal_baseline_tag_for_script()
  314. +hb_ot_layout_get_baseline_with_fallback()
  315. - Metrics:
  316. +hb_ot_metrics_get_position_with_fallback()
  317. - Subset:
  318. +hb_subset_plan_t
  319. +hb_subset_plan_create_or_fail()
  320. +hb_subset_plan_reference()
  321. +hb_subset_plan_destroy()
  322. +hb_subset_plan_set_user_data()
  323. +hb_subset_plan_get_user_data()
  324. +hb_subset_plan_execute_or_fail()
  325. +hb_subset_plan_unicode_to_old_glyph_mapping()
  326. +hb_subset_plan_new_to_old_glyph_mapping()
  327. +hb_subset_plan_old_to_new_glyph_mapping()
  328. Overview of changes leading to 3.4.0
  329. Sunday, February 13, 2022
  330. ====================================
  331. - Perform sanity checks on shaping results is now part of “harfbuzz” library
  332. and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
  333. (Behdad Esfahbod)
  334. - Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
  335. (Khaled Hosny)
  336. - ISO 15924 code for mathematical notation, ‘Zmth’, now maps to the OpenType
  337. ‘math’ tag. (Alexis King)
  338. - It is now possible to get at once all math kerning values for a given glyph
  339. at a given corner. (Alexis King)
  340. - Fix locale_t portability issues on systems the typedef’s it to a void
  341. pointer. (Behdad Esfahbod)
  342. - New API:
  343. +HB_BUFFER_FLAG_VERIFY
  344. +HB_OT_TAG_MATH_SCRIPT
  345. +HB_SCRIPT_MATH
  346. +hb_ot_math_kern_entry_t
  347. +hb_ot_math_get_glyph_kernings()
  348. - Deprecated API
  349. +HB_OT_MATH_SCRIPT
  350. Overview of changes leading to 3.3.2
  351. Sunday, February 6, 2022
  352. ====================================
  353. - Revert splitting of pair positioning values introduced in 3.3.0 as it proved
  354. problematic. (Behdad Esfahbod)
  355. Overview of changes leading to 3.3.1
  356. Monday, January 31, 2022
  357. ====================================
  358. - Fix heap-use-after-free in harfbuzz-subset introduced in previous release.
  359. (Garret Rieger)
  360. Overview of changes leading to 3.3.0
  361. Monday, January 31, 2022
  362. ====================================
  363. - Improved documentation. (Matthias Clasen)
  364. - Internal code cleanup, using C++ standard library more. (Behdad Esfahbod)
  365. - The low 16-bits of face index will be used by hb_face_create() to select a
  366. face inside a font collection file format, while the high 16-bits will be
  367. used by hb_font_create() to load the named instance. (Behdad Esfahbod)
  368. - Glyph positions and other font metrics now apply synthetic slant set by
  369. hb_font_set_synthetic_slant(), for improved positioning for synthetically
  370. slanted fonts. (Behdad Esfahbod)
  371. - Fixed unintentional locale dependency in hb_variation_to_string() for decimal
  372. point representation. (Matthias Clasen)
  373. - When applying pair positioning (kerning) the positioning value is split
  374. between the two sides of the pair for improved cursor positioning between
  375. such pairs. (Behdad Esfahbod)
  376. - Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction
  377. with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line
  378. breaking. Check the documentation for further details. (Behdad Esfahbod)
  379. - Improved handling of macrolanguages when mapping BCP 47 codes to OpenType
  380. tags. (David Corbett)
  381. - New API:
  382. +HB_GLYPH_FLAG_UNSAFE_TO_CONCAT
  383. +hb_segment_properties_overlay()
  384. +hb_buffer_create_similar()
  385. +hb_font_set_synthetic_slant()
  386. +hb_font_get_synthetic_slant()
  387. +hb_font_get_var_coords_design()
  388. Overview of changes leading to 3.2.0
  389. Friday, November 26, 2021
  390. ====================================
  391. “harfbuzz” library improvements:
  392. - Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod)
  393. - Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod)
  394. - OpenType 1.9 language tags update. (David Corbett)
  395. - Add HB_NO_VERTICAL config option.
  396. - Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod)
  397. “harfbuzz-subset” library improvements:
  398. - Improved packing of cmap, loca, and Ligature tables. (Garret Rieger)
  399. - Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)
  400. Overview of changes leading to 3.1.2
  401. Friday, November 26, 2021
  402. ====================================
  403. - hb-shape / hb-view: revert treating text on the commandline as single
  404. paragraph (was introduced in 3.0.0); add new --single-par to do that.
  405. (Behdad Esfahbod)
  406. - Subsetter bug fixes. (Garret Rieger, Qunxin Liu, Behdad Esfahbod)
  407. Overview of changes leading to 3.1.1
  408. Wednesday, November 8, 2021
  409. ====================================
  410. - Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod)
  411. - Documentation improvements. (Matthias Clasen)
  412. Overview of changes leading to 3.1.0
  413. Wednesday, November 3, 2021
  414. ====================================
  415. - Better offset-overflow handling in the subsetter library. (Garret Rieger)
  416. - Improved Unicode 14 properties in the USE shaper, and various other USE
  417. shaper fixes. (David Corbett)
  418. - MATH and COLR v1 tables subsetting support, and various other subsetter fixes.
  419. (Qunxin Liu)
  420. - Support for Pwo Karen / Ason Chin medial la. (Simon Cozens)
  421. - Apply GPOS positioning when substituting with morx table, if kerx is missing.
  422. (Behdad Esfahbod)
  423. - Apply calt and clig features across syllable boundaries in Indic shaper.
  424. (Behdad Esfahbod)
  425. - meson option for enabling Graphite 2 has been renamed to graphite2.
  426. - Build and documentation fixes.
  427. - New API:
  428. +hb_buffer_set_not_found_glyph()
  429. +hb_buffer_get_not_found_glyph()
  430. Overview of changes leading to 3.0.0
  431. Friday, September 17, 2021
  432. ====================================
  433. - Unicode 14.0 support (David Corbett).
  434. - The hb-subset API and the harfbuzz-subset library's ABI are now declared
  435. stable. The harfbuzz-subset library would not have been possible without the
  436. work of Garret Rieger and Qunxin Liu from Google Fonts, and the earlier work
  437. of Michiharu Ariza from Adobe.
  438. - The hb-style API is now stable and no longer experimental.
  439. - New API:
  440. +hb_style_tag_t
  441. +hb_style_get_value()
  442. +hb_subset_input_t
  443. +hb_subset_flags_t
  444. +hb_subset_sets_t
  445. +hb_subset_input_create_or_fail()
  446. +hb_subset_input_reference()
  447. +hb_subset_input_destroy()
  448. +hb_subset_input_set_user_data()
  449. +hb_subset_input_get_user_data()
  450. +hb_subset_input_unicode_set()
  451. +hb_subset_input_glyph_set()
  452. +hb_subset_input_set()
  453. +hb_subset_input_get_flags()
  454. +hb_subset_input_set_flags()
  455. +hb_subset_or_fail()
  456. - Removed old unstable harfbuzz-subset API:
  457. -hb_subset_input_nameid_set()
  458. -hb_subset_input_namelangid_set()
  459. -hb_subset_input_layout_features_set()
  460. -hb_subset_input_no_subset_tables_set()
  461. -hb_subset_input_drop_tables_set()
  462. -hb_subset_input_set_drop_hints()
  463. -hb_subset_input_get_drop_hints()
  464. -hb_subset_input_set_desubroutinize()
  465. -hb_subset_input_get_desubroutinize()
  466. -hb_subset_input_set_retain_gids()
  467. -hb_subset_input_get_retain_gids()
  468. -hb_subset_input_set_name_legacy()
  469. -hb_subset_input_get_name_legacy()
  470. -hb_subset_input_set_overlaps_flag()
  471. -hb_subset_input_get_overlaps_flag()
  472. -hb_subset_input_set_notdef_outline()
  473. -hb_subset_input_get_notdef_outline()
  474. -hb_subset_input_set_no_prune_unicode_ranges()
  475. -hb_subset_input_get_no_prune_unicode_ranges()
  476. -hb_subset()
  477. Overview of changes leading to 2.9.1
  478. Tuesday, September 7, 2021
  479. ====================================
  480. - Final subset API is in place and if no issues are discovered, it will be the
  481. stable subset API of HarfBuzz 3.0.0. Old API is kept to ease transition, but
  482. will be removed in 3.0.0.
  483. - Various fuzzer-found bug fixes.
  484. - hb_buffer_append() now handles the pre- and post-context which previously
  485. were left unchanged in the destination buffer.
  486. - hb-view / hb-shape now accept following new arguments:
  487. o --unicodes-before/after: takes a list of hex numbers that represent Unicode
  488. codepoints.
  489. - Undeprecated API:
  490. hb_set_invert()
  491. Overview of changes leading to 2.9.0
  492. Wednesday, August 18, 2021
  493. History Repeats Itself (Afghanistan)
  494. ====================================
  495. - Subsetter API is being stabilized, with the first stable API to happen in
  496. 3.0.0 release (https://github.com/harfbuzz/harfbuzz/issues/3078).
  497. - Support multiple variation axes with same tag, aka HOI.
  498. - The “coretext” testing shaper now passes font variations to CoreText.
  499. - hb-shape/hb-view does not break line at new lines unless text is read from
  500. file.
  501. - hb-view and hb-subset has a --batch now, similar to hb-shape.
  502. - The --batch mode now uses ; as argument separator instead of : used previously.
  503. - The --batch in hb-shape does not expect 0th argument anymore. That is, the
  504. lines read are interpreted as argv[1:], instead of argv[0:].
  505. - The --batch option has been undocumented. We are ready to document it; send
  506. feedback if you find it useful.
  507. - hb-subset got arguments revamps. Added much-requested --gids-file, --glyphs,
  508. --glyphs-file, --unicodes-file, supporting ranges in --unicodes.
  509. - Various bug fixes.
  510. Overview of changes leading to 2.8.2
  511. Tuesday, July 8, 2021
  512. ====================================
  513. - Shaping LTR digits for RTL scripts now makes the native direction of the
  514. digits LTR, applying shaping and positioning rules on the same glyph order as
  515. Uniscribe. (Jonathan Kew, Khaled Hosny).
  516. - Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu)
  517. - Various fixes and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad)
  518. - When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew)
  519. - GPOS is preferred over kerx, if GSUB was applied. (Behdad)
  520. - Regional_Indicator pairs are grouped together when clustering. (Behdad)
  521. - New API:
  522. +hb_blob_create_or_fail()
  523. +hb_blob_create_from_file_or_fail()
  524. +hb_set_copy()
  525. Overview of changes leading to 2.8.1
  526. Tuesday, May 4, 2021
  527. ====================================
  528. - Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as
  529. such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu)
  530. - Build scripts no longer check for FontConfig as HarfBuzz does not use it.
  531. - hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny),
  532. it can also use Chafa for terminal graphics if available (Hans Petter Jansson).
  533. Overview of changes leading to 2.8.0
  534. Tuesday, March 16, 2021
  535. ====================================
  536. - Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine.
  537. Previously these were shaped using the generalized Arabic shaper. (David Corbett)
  538. - Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett)
  539. - Update language tags. (David Corbett)
  540. - Variations: reduce error: do not round each interpolated delta. (Just van Rossum)
  541. - Documentation improvements. (Khaled Hosny, Nathan Willis)
  542. - Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu)
  543. - Fuzzer-found fixes and other improvements when memory failures happen. (Behdad)
  544. - Removed most atomic implementations now that we have C++11 atomic impl. (Behdad)
  545. - General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad)
  546. Overview of changes leading to 2.7.4
  547. Sunday, December 27, 2020
  548. ====================================
  549. - Fix missing --enable-introspection configure option from previous release
  550. tarball.
  551. - Documentation updates.
  552. Overview of changes leading to 2.7.3
  553. Wednesday, December 23, 2020
  554. ====================================
  555. - Update USE shaper to 2020-08-13 specification, and other improvements.
  556. - Don’t disable liga feature in myanmar shaper, to match Uniscribe.
  557. - Improvements to language and script tags handling.
  558. - Update language system tag registry to OpenType 1.8.4
  559. - Support for serializing and deserializing Unicode buffers. Serialized buffers
  560. are now delimited with `<>` or `[]` based on whether it is a Unicode or
  561. glyphs buffer.
  562. - Increase buffer work limits to handle fonts with many complex lookups.
  563. - Handle more shaping operations in trace output.
  564. - Memory access fixes.
  565. - More OOM fixes.
  566. - Improved documentation.
  567. - Build system improvements.
  568. - New API:
  569. +hb_buffer_has_positions()
  570. +hb_buffer_serialize()
  571. +hb_buffer_serialize_unicode()
  572. +hb_buffer_deserialize_unicode()
  573. Overview of changes leading to 2.7.2
  574. Saturday, August 29, 2020
  575. ====================================
  576. - Fix a regression in the previous release that caused a crash with Kaithi.
  577. - More OOM fixes.
  578. Overview of changes leading to 2.7.1
  579. Thursday, August 13, 2020
  580. ====================================
  581. - ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present.
  582. - Reverted a GDEF processing regression.
  583. - A couple of fixes to handle OOM better.
  584. Overview of changes leading to 2.7.0
  585. Saturday, July 25, 2020
  586. ====================================
  587. - Use an implementation for round that always rounds up, some minor fluctuations
  588. are expected on var font specially when hb-ot callback is used.
  589. - Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
  590. - Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
  591. use on macOS installed fonts (only two files). GDEF support is the recommended
  592. one and expected to work properly after issues fixed two releases ago.
  593. - Minor memory fixes to handle OOM better specially in hb-ft.
  594. - Minor .so files versioning scheme change and remove stable/unstable scheme
  595. differences, was never used in practice (always default to stable scheme).
  596. - We are now suggesting careful packaging of the library using meson,
  597. https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
  598. for more information.
  599. - Distribution package URL is changed, either use GitHub generated tarballs,
  600. `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
  601. or, even more preferably use commit hash of the release and git checkouts like,
  602. `git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
  603. Overview of changes leading to 2.6.8
  604. Monday, June 22, 2020
  605. ====================================
  606. - New API to fetch glyph alternates from GSUB table.
  607. - hb-coretext build fix for macOS < 10.10.
  608. - Meson build fixes, cmake port removal is postponed but please prepare for
  609. it and give us feedback.
  610. Autotools is still our main build system however please consider
  611. experimenting with meson also for packaging the library.
  612. - New API:
  613. +hb_ot_layout_lookup_get_glyph_alternates()
  614. Overview of changes leading to 2.6.7
  615. Wednesday, June 3, 2020
  616. ====================================
  617. - Update to Unicode 13.0.0.
  618. - Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was
  619. completely broken for all the other fonts since 2.1.2.
  620. - As a part of our migration to meson, this release will be the last one
  621. to provide cmake port files but autotools still is our main build system.
  622. There is a possibility that the next version or the after be released
  623. using meson.
  624. Overview of changes leading to 2.6.6
  625. Tuesday, May 12, 2020
  626. ====================================
  627. - A fix in AAT kerning for Geeza Pro.
  628. - Better support for resource fork fonts on macOS.
  629. Overview of changes leading to 2.6.5
  630. Friday, April 17, 2020
  631. ====================================
  632. - Add experimental meson build system. Autotools is still the primary
  633. and supported build system.
  634. - AAT is now always preferred for horizontal scripts when both AAT and OT
  635. layout tables exist at the same time.
  636. - Subsetter improvements.
  637. - New API:
  638. +hb_ft_font_lock_face()
  639. +hb_ft_font_unlock_face()
  640. Overview of changes leading to 2.6.4
  641. Monday, October 29, 2019
  642. ====================================
  643. - Small bug fix.
  644. - Build fixes.
  645. Overview of changes leading to 2.6.3
  646. Monday, October 28, 2019
  647. ====================================
  648. - Misc small fixes, mostly to build-related issues.
  649. - New API:
  650. +hb_font_get_nominal_glyphs()
  651. Overview of changes leading to 2.6.2
  652. Monday, September 30, 2019
  653. ====================================
  654. - Misc small fixes, mostly to build-related issues.
  655. Overview of changes leading to 2.6.1
  656. Thursday, August 22, 2019
  657. ====================================
  658. - Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0.
  659. - Change interpretation of font PTEM size / CoreText font size handling.
  660. See https://github.com/harfbuzz/harfbuzz/pull/1484
  661. - hb-ot-font: Prefer symbol cmap subtable if present.
  662. - Apply 'dist'/'abvm'/'blwm' features to all scripts.
  663. - Drop experimental DirectWrite API.
  664. Overview of changes leading to 2.6.0
  665. Tuesday, August 13, 2019
  666. ====================================
  667. - New OpenType metrics, baseline, and metadata table access APIs.
  668. - New API to set font variations to a named-instance.
  669. - New hb-gdi.h header and API for creating hb_face_t from HFONT.
  670. - Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
  671. - More size-reduction configurable options, enabled by HB_TINY.
  672. - New API:
  673. +hb_font_set_var_named_instance()
  674. +hb_gdi_face_create()
  675. +hb_ot_layout_baseline_tag_t
  676. +hb_ot_layout_get_baseline()
  677. +hb_ot_meta_tag_t
  678. +hb_ot_meta_get_entry_tags()
  679. +hb_ot_meta_reference_entry()
  680. +hb_ot_metrics_tag_t
  681. +hb_ot_metrics_get_position()
  682. +hb_ot_metrics_get_variation()
  683. +hb_ot_metrics_get_x_variation()
  684. +hb_ot_metrics_get_y_variation()
  685. Overview of changes leading to 2.5.3
  686. Wednesday, June 26, 2019
  687. ====================================
  688. - Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0.
  689. - More optimizations for HB_TINY.
  690. Overview of changes leading to 2.5.2
  691. Thursday, June 20, 2019
  692. ====================================
  693. - More hb-config.hh facilities to shrink library size, namely when built as
  694. HB_TINY.
  695. - New documentation of custom configurations in CONFIG.md.
  696. - Fix build on gcc 4.8. That's supported again.
  697. - Universal Shaping Engine improvements thanks to David Corbett.
  698. - API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft,
  699. such that Type1 fonts will continue kerning.
  700. Overview of changes leading to 2.5.1
  701. Friday, May 31, 2019
  702. ====================================
  703. - Fix build with various versions of Visual Studio.
  704. - Improved documentation, thanks to Nathan Willis.
  705. - Bugfix in subsetting glyf table.
  706. - Improved scripts for cross-compiling for Windows using mingw.
  707. - Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER.
  708. A deprecated macro is added for backwards-compatibility.
  709. Overview of changes leading to 2.5.0
  710. Friday, May 24, 2019
  711. ====================================
  712. - This release does not include much functional changes, but includes major internal
  713. code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
  714. dropped.
  715. - New hb-config.hh facility for compiling smaller library for embedded and web usecases.
  716. - New Unicode Character Database implementation that is half the size of previously-used
  717. UCDN.
  718. - Subsetter improvements.
  719. - Improved documentation, thanks to Nathan Willis.
  720. - Misc shaping fixes.
  721. Overview of changes leading to 2.4.0
  722. Monday, March 25, 2019
  723. ====================================
  724. - Unicode 12.
  725. - Misc fixes.
  726. - Subsetter improvements.
  727. - New API:
  728. HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
  729. hb_directwrite_face_create()
  730. Overview of changes leading to 2.3.1
  731. Wednesday, January 30, 2019
  732. ====================================
  733. - AAT bug fixes.
  734. - Misc internal housekeeping cleanup.
  735. Overview of changes leading to 2.3.0
  736. Thursday, December 20, 2018
  737. ====================================
  738. - Fix regression on big-endian architectures. Ouch!
  739. - Misc bug and build fixes.
  740. - Fix subsetting of simple GSUB/GDEF.
  741. - Merge CFF / CFF2 support contributed by Adobe. This mostly involves
  742. the subsetter, but also get_glyph_extents on CFF fonts.
  743. New API in hb-aat.h:
  744. +hb_aat_layout_has_substitution()
  745. +hb_aat_layout_has_positioning()
  746. +hb_aat_layout_has_tracking()
  747. Overview of changes leading to 2.2.0
  748. Thursday, November 29, 2018
  749. ====================================
  750. - Misc shaping bug fixes.
  751. - Add font variations named-instance API.
  752. - Deprecate font variations axis enumeration API and add replacement.
  753. - AAT shaping improvements:
  754. o Fixed 'kern' table Format 2 implementation.
  755. o Implement 'feat' table API for feature detection.
  756. o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
  757. New API:
  758. +hb_aat_layout_feature_type_t
  759. +hb_aat_layout_feature_selector_t
  760. +hb_aat_layout_get_feature_types()
  761. +hb_aat_layout_feature_type_get_name_id
  762. +hb_aat_layout_feature_selector_info_t
  763. +HB_AAT_LAYOUT_NO_SELECTOR_INDEX
  764. +hb_aat_layout_feature_type_get_selector_infos()
  765. +hb_ot_var_axis_flags_t
  766. +hb_ot_var_axis_info_t
  767. +hb_ot_var_get_axis_infos()
  768. +hb_ot_var_find_axis_info()
  769. +hb_ot_var_get_named_instance_count()
  770. +hb_ot_var_named_instance_get_subfamily_name_id()
  771. +hb_ot_var_named_instance_get_postscript_name_id()
  772. +hb_ot_var_named_instance_get_design_coords()
  773. Deprecated API:
  774. +HB_OT_VAR_NO_AXIS_INDEX
  775. +hb_ot_var_axis_t
  776. +hb_ot_var_get_axes()
  777. +hb_ot_var_find_axis()
  778. Overview of changes leading to 2.1.3
  779. Friday, November 16, 2018
  780. ====================================
  781. - Fix AAT 'mort' shaping, which was broken in 2.1.2
  782. Overview of changes leading to 2.1.2
  783. Friday, November 16, 2018
  784. ====================================
  785. - Various internal changes.
  786. - AAT shaping improvements:
  787. o Implement kern table Format 1 state-machine-based kerning.
  788. o Implement cross-stream kerning (cursive positioning, etc).
  789. o Ignore emptyish GSUB tables (zero scripts) if morx present.
  790. o Don't apply GPOS if morx is being applied. Matches Apple.
  791. -Overview of changes leading to 2.1.1
  792. Monday, November 5, 2018
  793. ====================================
  794. - AAT improvements:
  795. o Implement 'mort' table.
  796. o Implement 'kern' subtables Format 1 and Format 3.
  797. Overview of changes leading to 2.1.0
  798. Tuesday, October 30, 2018
  799. ====================================
  800. - AAT shaping improvements:
  801. o Allow user controlling AAT features, for whole buffer only currently.
  802. o Several 'morx' fixes.
  803. o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
  804. San Francisco fonts.
  805. - Support for color fonts:
  806. o COLR/CPAL API to fetch color layers.
  807. o SVG table to fetch SVG documents.
  808. o CBDT/sbix API to fetch PNG images.
  809. - New 'name' table API.
  810. - hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
  811. in vertical layout.
  812. - Various fuzzer-found bug fixes.
  813. Changed API:
  814. A type and a macro added in 2.0.0 were renamed:
  815. hb_name_id_t -> hb_ot_name_id_t
  816. HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
  817. New API:
  818. +hb_color_t
  819. +HB_COLOR
  820. +hb_color_get_alpha()
  821. +hb_color_get_red()
  822. +hb_color_get_green()
  823. +hb_color_get_blue()
  824. +hb_ot_color_has_palettes()
  825. +hb_ot_color_palette_get_count()
  826. +hb_ot_color_palette_get_name_id()
  827. +hb_ot_color_palette_color_get_name_id()
  828. +hb_ot_color_palette_flags_t
  829. +hb_ot_color_palette_get_flags()
  830. +hb_ot_color_palette_get_colors()
  831. +hb_ot_color_has_layers()
  832. +hb_ot_color_layer_t
  833. +hb_ot_color_glyph_get_layers()
  834. +hb_ot_color_has_svg()
  835. +hb_ot_color_glyph_reference_svg()
  836. +hb_ot_color_has_png()
  837. +hb_ot_color_glyph_reference_png()
  838. +hb_ot_name_id_t
  839. +HB_OT_NAME_ID_INVALID
  840. +HB_OT_NAME_ID_COPYRIGHT
  841. +HB_OT_NAME_ID_FONT_FAMILY
  842. +HB_OT_NAME_ID_FONT_SUBFAMILY
  843. +HB_OT_NAME_ID_UNIQUE_ID
  844. +HB_OT_NAME_ID_FULL_NAME
  845. +HB_OT_NAME_ID_VERSION_STRING
  846. +HB_OT_NAME_ID_POSTSCRIPT_NAME
  847. +HB_OT_NAME_ID_TRADEMARK
  848. +HB_OT_NAME_ID_MANUFACTURER
  849. +HB_OT_NAME_ID_DESIGNER
  850. +HB_OT_NAME_ID_DESCRIPTION
  851. +HB_OT_NAME_ID_VENDOR_URL
  852. +HB_OT_NAME_ID_DESIGNER_URL
  853. +HB_OT_NAME_ID_LICENSE
  854. +HB_OT_NAME_ID_LICENSE_URL
  855. +HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
  856. +HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
  857. +HB_OT_NAME_ID_MAC_FULL_NAME
  858. +HB_OT_NAME_ID_SAMPLE_TEXT
  859. +HB_OT_NAME_ID_CID_FINDFONT_NAME
  860. +HB_OT_NAME_ID_WWS_FAMILY
  861. +HB_OT_NAME_ID_WWS_SUBFAMILY
  862. +HB_OT_NAME_ID_LIGHT_BACKGROUND
  863. +HB_OT_NAME_ID_DARK_BACKGROUND
  864. +HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
  865. +hb_ot_name_entry_t
  866. +hb_ot_name_list_names()
  867. +hb_ot_name_get_utf8()
  868. +hb_ot_name_get_utf16()
  869. +hb_ot_name_get_utf32()
  870. Overview of changes leading to 2.0.2
  871. Saturday, October 20, 2018
  872. ====================================
  873. - Fix two minor memory access issues in AAT tables.
  874. Overview of changes leading to 2.0.1
  875. Friday, October 19, 2018
  876. ====================================
  877. - Fix hb-version.h reported release version that went wrong (1.8.0)
  878. with previous release.
  879. - Fix extrapolation in 'trak' table.
  880. - Fix hb-font infinite-recursion issue with some font funcs and
  881. subclassed fonts.
  882. - Implement variation-kerning format in kerx table, although without
  883. variation.
  884. - Fix return value of hb_map_is_empty().
  885. Overview of changes leading to 2.0.0
  886. Thursday, October 18, 2018
  887. ====================================
  888. - Added AAT shaping support (morx/kerx/trak).
  889. Automatically used if GSUB/GPOS are not available respectively.
  890. Set HB_OPTIONS=aat env var to have morx/kerx preferred over
  891. GSUB/GPOS.
  892. - Apply TrueType kern table internally, instead of relying on
  893. hb_font_t callbacks.
  894. - Khmer shaper significantly rewritten to better match Uniscribe.
  895. - Indic3 tags ('dev3', etc) are passed to USE shaper.
  896. - .dfont Mac font containers implemented.
  897. - Script- and language-mapping revamped to better use BCP 47.
  898. - Misc USE and Indic fixes.
  899. - Misc everything fixes.
  900. - Too many things to list. Biggest release since 0.9.1, with
  901. over 500 commits in just over 5 weeks! Didn't intend it to
  902. be a big release. Just happened to become.
  903. - hb-ft now locks underlying FT_Face during use.
  904. API changes:
  905. - Newly-created hb_font_t's now have our internal "hb-ot-font"
  906. callbacks set on them, so they should work out of the box
  907. without any callbacks set. If callbacks are set, everything
  908. is back to what it was before, the fallback callbacks are
  909. null. If you to get the internal implementation modified,
  910. sub_font it.
  911. - New hb_font_funcs_set_nominal_glyphs_func() allows speeding
  912. up character to glyph mapping.
  913. New API:
  914. +HB_FEATURE_GLOBAL_START
  915. +HB_FEATURE_GLOBAL_END
  916. +hb_buffer_set_invisible_glyph()
  917. +hb_buffer_get_invisible_glyph()
  918. +hb_font_funcs_set_nominal_glyphs_func()
  919. +hb_ot_layout_table_select_script()
  920. +hb_ot_layout_script_select_language()
  921. +hb_ot_layout_feature_get_name_ids()
  922. +hb_ot_layout_feature_get_characters()
  923. +hb_name_id_t
  924. +HB_NAME_ID_INVALID
  925. +HB_OT_MAX_TAGS_PER_SCRIPT
  926. +hb_ot_tags_from_script_and_language()
  927. +hb_ot_tags_to_script_and_language()
  928. Deprecated API:
  929. -hb_font_funcs_set_glyph_func()
  930. -hb_unicode_eastasian_width_func_t
  931. -hb_unicode_funcs_set_eastasian_width_func()
  932. -hb_unicode_eastasian_width()
  933. -hb_unicode_decompose_compatibility_func_t
  934. -HB_UNICODE_MAX_DECOMPOSITION_LEN
  935. -hb_unicode_funcs_set_decompose_compatibility_func()
  936. -hb_unicode_decompose_compatibility()
  937. -hb_font_funcs_set_glyph_h_kerning_func()
  938. -hb_font_funcs_set_glyph_v_kerning_func()
  939. -hb_font_get_glyph_h_kerning()
  940. -hb_font_get_glyph_v_kerning()
  941. -hb_font_get_glyph_kerning_for_direction()
  942. -hb_ot_layout_table_choose_script()
  943. -hb_ot_layout_script_find_language()
  944. -hb_ot_tags_from_script()
  945. -hb_ot_tag_from_language()
  946. Overview of changes leading to 1.9.0
  947. Monday, September 10, 2018
  948. ====================================
  949. - Added 'cmap' API to hb_face_t.
  950. - Face-builder API.
  951. - hb-ot-font re-creation should be much leaner now, as the
  952. font tables it uses are cached on hb_face_t now.
  953. - Internal source header file name changes:
  954. hb-*-private.hh is renamed to hb-*.hh.
  955. New API:
  956. +HB_UNICODE_MAX
  957. +hb_face_collect_unicodes()
  958. +hb_face_collect_variation_selectors()
  959. +hb_face_collect_variation_unicodes()
  960. +hb_face_builder_create()
  961. +hb_face_builder_add_table()
  962. Overview of changes leading to 1.8.8
  963. Tuesday, August 14, 2018
  964. ====================================
  965. - Fix hb-icu crash on architectures where compare_exchange_weak() can
  966. fail falsely. This bug was introduced in 1.8.4.
  967. https://bugs.chromium.org/p/chromium/issues/detail?id=873568
  968. - More internal refactoring of atomic operations and singletons.
  969. - API changes:
  970. The following functions do NOT reference their return value before
  971. returning:
  972. * hb_unicode_funcs_get_default()
  973. * hb_glib_get_unicode_funcs()
  974. * hb_icu_get_unicode_funcs()
  975. This is consistent with their naming ("get", instead of "reference")
  976. as well as how they are used in the wild (ie. no one calls destroy()
  977. on their return value.)
  978. Overview of changes leading to 1.8.7
  979. Wednesday, August 8, 2018
  980. ====================================
  981. - Fix assertion failure with GDEF-blacklisted fonts.
  982. Overview of changes leading to 1.8.6
  983. Tuesday, August 7, 2018
  984. ====================================
  985. - Internal code shuffling.
  986. - New API to speed up getting advance widths for implementations
  987. that have heavy overhead in get_h_advance callback:
  988. +hb_font_funcs_set_glyph_h_advances_func
  989. +hb_font_funcs_set_glyph_v_advances_func
  990. +hb_font_get_glyph_advances_for_direction
  991. +hb_font_get_glyph_h_advances
  992. +hb_font_get_glyph_h_advances_func_t
  993. +hb_font_get_glyph_v_advances
  994. +hb_font_get_glyph_v_advances_func_t
  995. Overview of changes leading to 1.8.5
  996. Wednesday, August 1, 2018
  997. ====================================
  998. - Major Khmer shaper improvements to better match Microsoft.
  999. - Indic bug fixes.
  1000. - Internal improvements to atomic operations.
  1001. Overview of changes leading to 1.8.4
  1002. Tuesday, July 17, 2018
  1003. ====================================
  1004. - Fix build on non-C++11.
  1005. - Use C++-style GCC atomics and C++11 atomics.
  1006. Overview of changes leading to 1.8.3
  1007. Wednesday, July 11, 2018
  1008. ====================================
  1009. - A couple of Indic / USE bug fixes.
  1010. - Disable vectorization, as it was causing unaligned access bus error on
  1011. certain 32bit architectures.
  1012. Overview of changes leading to 1.8.2
  1013. Tuesday, July 3, 2018
  1014. ====================================
  1015. - Fix infinite loop in Khmer shaper.
  1016. - Improve hb_blob_create_from_file() for streams.
  1017. Overview of changes leading to 1.8.1
  1018. Tuesday, June 12, 2018
  1019. ====================================
  1020. - Fix hb-version.h file generation; last two releases went out with wrong ones.
  1021. - Add correctness bug in hb_set_t operations, introduced in 1.7.7.
  1022. - Remove HB_SUBSET_BUILTIN build option. Not necessary.
  1023. Overview of changes leading to 1.8.0
  1024. Tuesday, June 5, 2018
  1025. ====================================
  1026. - Update to Unicode 11.0.0.
  1027. Overview of changes leading to 1.7.7
  1028. Tuesday, June 5, 2018
  1029. ====================================
  1030. - Lots of internal changes, but not yet exposed externally.
  1031. - All HarfBuzz objects are significantly smaller in size now.
  1032. - Sinhala: Position repha on top of post-consonant, not base.
  1033. This better matches Windows 10 behavior, which was changed
  1034. from previous Windows versions.
  1035. - New build options:
  1036. o New cpp macro HB_NO_ATEXIT
  1037. o New cpp macro HB_SUBSET_BUILTIN
  1038. - Significant libharfbuzz-subset changes. API subject to change.
  1039. - New API in libharfbuzz:
  1040. +hb_blob_create_from_file()
  1041. +hb_face_count()
  1042. A hashmap implementation:
  1043. +hb-map.h
  1044. +HB_MAP_VALUE_INVALID
  1045. +hb_map_t
  1046. +hb_map_create()
  1047. +hb_map_get_empty()
  1048. +hb_map_reference()
  1049. +hb_map_destroy()
  1050. +hb_map_set_user_data()
  1051. +hb_map_get_user_data()
  1052. +hb_map_allocation_successful()
  1053. +hb_map_clear()
  1054. +hb_map_is_empty()
  1055. +hb_map_get_population()
  1056. +hb_map_set()
  1057. +hb_map_get()
  1058. +hb_map_del()
  1059. +hb_map_has()
  1060. Overview of changes leading to 1.7.6
  1061. Wednesday, March 7, 2018
  1062. ====================================
  1063. - Fix to hb_set_t binary operations. Ouch.
  1064. - New experimental harfbuzz-subset library. All of hb-subset.h
  1065. is experimental right now and API WILL change.
  1066. - New API:
  1067. hb_blob_copy_writable_or_fail()
  1068. HB_OT_TAG_BASE
  1069. hb_set_previous()
  1070. hb_set_previous_range()
  1071. Overview of changes leading to 1.7.5
  1072. Tuesday, January 30, 2018
  1073. ====================================
  1074. - Separate Khmer shaper from Indic.
  1075. - First stab at AAT morx. Not hooked up.
  1076. - Misc bug fixes.
  1077. Overview of changes leading to 1.7.4
  1078. Wednesday, December 20, 2017
  1079. ====================================
  1080. - Fix collect_glyphs() regression caused by hb_set_t changes.
  1081. Overview of changes leading to 1.7.3
  1082. Monday, December 18, 2017
  1083. ====================================
  1084. - hb_set_t performance tuning and optimizations.
  1085. - Speed up collect_glyphs() and reject garbage data.
  1086. - In hb_coretext_font_create() set font point-size (ptem).
  1087. - Misc fixes.
  1088. Overview of changes leading to 1.7.2
  1089. Monday, December 4, 2017
  1090. ====================================
  1091. - Optimize hb_set_add_range().
  1092. - Misc fixes.
  1093. - New API:
  1094. hb_coretext_font_create()
  1095. Overview of changes leading to 1.7.1
  1096. Tuesday, November 14, 2017
  1097. ====================================
  1098. - Fix atexit object destruction regression.
  1099. - Fix minor integer-overflow.
  1100. Overview of changes leading to 1.7.0
  1101. Monday, November 13, 2017
  1102. ====================================
  1103. - Minor Indic fixes.
  1104. - Implement kerning and glyph names in hb-ot-font.
  1105. - Various DSO optimization re .data and .bss sizes.
  1106. - Make C++11 optional; build fixes.
  1107. - Mark all other backends "unsafe-to-break".
  1108. - Graphite fix.
  1109. Overview of changes leading to 1.6.3
  1110. Thursday, October 26th, 2017
  1111. ====================================
  1112. - Fix hb_set_t some more. Should be solid now.
  1113. - Implement get_glyph_name() for hb-ot-font.
  1114. - Misc fixes.
  1115. Overview of changes leading to 1.6.2
  1116. Monday, October 23nd, 2017
  1117. ====================================
  1118. - Yesterday's release had a bad crasher; don't use it. That's what
  1119. happens when one works on Sunday...
  1120. https://github.com/harfbuzz/harfbuzz/issues/578
  1121. - Build fixes for FreeBSD and Chrome Android.
  1122. Overview of changes leading to 1.6.1
  1123. Sunday, October 22nd, 2017
  1124. ====================================
  1125. - Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
  1126. To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
  1127. - Faster hb_set_t implementation.
  1128. - Don't use deprecated ICU API.
  1129. - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
  1130. - Deprecated API:
  1131. hb_set_invert()
  1132. Overview of changes leading to 1.6.0
  1133. Friday, October the 13th, 2017
  1134. ====================================
  1135. - Update to Unicode 10.
  1136. - Various Indic and Universal Shaping Engine fixes as a result of
  1137. HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
  1138. the Igalia offices in A Coruña, Spain. Thanks Igalia for having
  1139. us!
  1140. - Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
  1141. - Implement optical sizing / tracking in CoreText backend, using
  1142. new API hb_font_set_ptem().
  1143. - Allow notifying hb_font_t that underlying FT_Face changed sizing,
  1144. using new API hb_ft_font_changed().
  1145. - More Graphite backend RTL fixes.
  1146. - Fix caching of variable font shaping plans.
  1147. - hb-view / hb-shape now accept following new arguments:
  1148. o --unicodes: takes a list of hex numbers that represent Unicode
  1149. codepoints.
  1150. New API:
  1151. +hb_face_get_table_tags()
  1152. +hb_font_set_ptem()
  1153. +hb_font_get_ptem()
  1154. +hb_ft_font_changed()
  1155. Overview of changes leading to 1.5.1
  1156. Tuesday, September 5, 2017
  1157. ====================================
  1158. - Fix "unsafe-to-break" in fallback shaping and other corner cases.
  1159. All our tests pass with --verify now, meaning unsafe-to-break API
  1160. works as expected.
  1161. - Add --unicodes to hb-view / hb-shape.
  1162. - [indic] Treat Consonant_With_Stacker as consonant. This will need
  1163. further tweaking.
  1164. - hb_buffer_diff() tweaks.
  1165. Overview of changes leading to 1.5.0
  1166. Wednesday, August 23, 2017
  1167. ====================================
  1168. - Misc new API, for appending a buffer to another, and for comparing
  1169. contents of two buffers for types of differences.
  1170. - New "unsafe-to-break" API. Can be used to speed up reshaping
  1171. in line-breaking situations. Essentially, after shaping, it returns
  1172. positions in the input string (some of the cluster boundaries) that
  1173. are "safe to break" in that if the text is segmented at that position
  1174. and two sides reshaped and concatenated, the shaping result is
  1175. exactly the same as shaping the text in one piece.
  1176. hb-view and hb-shape and hb-shape now take --verify, which verifies
  1177. the above property.
  1178. Some corner cases of the implementation are still not quite working.
  1179. Those will be fixed in subsequent releases.
  1180. - New API:
  1181. hb_buffer_append()
  1182. hb_glyph_flags_t
  1183. HB_GLYPH_FLAG_UNSAFE_TO_BREAK
  1184. HB_GLYPH_FLAG_DEFINED
  1185. hb_glyph_info_get_glyph_flags()
  1186. HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
  1187. hb_buffer_diff_flags_t
  1188. HB_BUFFER_DIFF_FLAG_EQUAL
  1189. HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
  1190. HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
  1191. HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
  1192. HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
  1193. HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
  1194. HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
  1195. HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
  1196. HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
  1197. hb_buffer_diff
  1198. Overview of changes leading to 1.4.8
  1199. Tuesday, August 8, 2017
  1200. ====================================
  1201. - Major fix to avar table handling.
  1202. - Rename hb-shape --show-message to --trace.
  1203. - Build fixes.
  1204. Overview of changes leading to 1.4.7
  1205. Tuesday, July 18, 2017
  1206. ====================================
  1207. - Multiple Indic, Tibetan, and Cham fixes.
  1208. - CoreText: Allow disabling kerning.
  1209. - Adjust Arabic feature order again.
  1210. - Misc build fixes.
  1211. Overview of changes leading to 1.4.6
  1212. Sunday, April 23, 2017
  1213. ====================================
  1214. - Graphite2: Fix RTL positioning issue.
  1215. - Backlist GDEF of more versions of Padauk and Tahoma.
  1216. - New, experimental, cmake alternative build system.
  1217. Overview of changes leading to 1.4.5
  1218. Friday, March 10, 2017
  1219. ====================================
  1220. - Revert "Fix Context lookup application when moving back after a glyph..."
  1221. This introduced memory access problems. To be fixed properly soon.
  1222. Overview of changes leading to 1.4.4
  1223. Sunday, March 5, 2017
  1224. ====================================
  1225. - Fix Context lookup application when moving back after a glyph deletion.
  1226. - Fix buffer-overrun in Bengali.
  1227. Overview of changes leading to 1.4.3
  1228. Saturday, February 25, 2017
  1229. ====================================
  1230. - Route Adlam script to Arabic shaper.
  1231. - Misc fixes.
  1232. - New API:
  1233. hb_font_set_face()
  1234. - Deprecate API:
  1235. hb_graphite2_font_get_gr_font()
  1236. Overview of changes leading to 1.4.2
  1237. Monday, January 23, 2017
  1238. ====================================
  1239. - Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
  1240. - hb-shape and hb-view now accept --variations.
  1241. - New API:
  1242. hb_variation_t
  1243. hb_variation_from_string()
  1244. hb_variation_to_string()
  1245. hb_font_set_variations()
  1246. hb_font_set_var_coords_design()
  1247. hb_font_get_var_coords_normalized()
  1248. hb-ot-var.h:
  1249. hb_ot_var_axis_t
  1250. hb_ot_var_has_data()
  1251. hb_ot_var_get_axis_count()
  1252. hb_ot_var_get_axes()
  1253. hb_ot_var_find_axis()
  1254. hb_ot_var_normalize_variations()
  1255. hb_ot_var_normalize_coords()
  1256. - MVAR to be implemented later. Access to named instances to be
  1257. implemented later as well.
  1258. - Misc fixes.
  1259. Overview of changes leading to 1.4.1
  1260. Thursday, January 5, 2017
  1261. ====================================
  1262. - Always build and use UCDN for Unicode data by default.
  1263. Reduces dependence on version of Unicode data in glib,
  1264. specially in the Windows bundles we are shipping, which
  1265. have very old glib.
  1266. Overview of changes leading to 1.4.0
  1267. Thursday, January 5, 2017
  1268. ====================================
  1269. - Merged "OpenType GX" branch which adds core of support for
  1270. OpenType 1.8 Font Variations. To that extent, the relevant
  1271. new API is:
  1272. New API:
  1273. hb_font_set_var_coords_normalized()
  1274. with supporting API:
  1275. New API:
  1276. HB_OT_LAYOUT_NO_VARIATIONS_INDEX
  1277. hb_ot_layout_table_find_feature_variations()
  1278. hb_ot_layout_feature_with_variations_get_lookups()
  1279. hb_shape_plan_create2()
  1280. hb_shape_plan_create_cached2()
  1281. Currently variations in GSUB/GPOS/GDEF are fully supported,
  1282. and no other tables are supported. In particular, fvar/avar
  1283. are NOT supported, hence the hb_font_set_var_coords_normalized()
  1284. taking normalized coordinates. API to take design coordinates
  1285. will be added in the future.
  1286. HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
  1287. future.
  1288. - Fix regression in GDEF glyph class processing.
  1289. - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
  1290. - Misc fixes.
  1291. Overview of changes leading to 1.3.4
  1292. Monday, December 5, 2016
  1293. ====================================
  1294. - Fix vertical glyph origin in hb-ot-font.
  1295. - Implement CBDT/CBLC color font glyph extents in hb-ot-font.
  1296. Overview of changes leading to 1.3.3
  1297. Wednesday, September 28, 2016
  1298. ====================================
  1299. - Implement parsing of OpenType MATH table.
  1300. New API:
  1301. HB_OT_TAG_MATH
  1302. HB_OT_MATH_SCRIPT
  1303. hb_ot_math_constant_t
  1304. hb_ot_math_kern_t
  1305. hb_ot_math_glyph_variant_t
  1306. hb_ot_math_glyph_part_flags_t
  1307. hb_ot_math_glyph_part_t
  1308. hb_ot_math_has_data
  1309. hb_ot_math_get_constant
  1310. hb_ot_math_get_glyph_italics_correction
  1311. hb_ot_math_get_glyph_top_accent_attachment
  1312. hb_ot_math_get_glyph_kerning
  1313. hb_ot_math_is_glyph_extended_shape
  1314. hb_ot_math_get_glyph_variants
  1315. hb_ot_math_get_min_connector_overlap
  1316. hb_ot_math_get_glyph_assembly
  1317. Overview of changes leading to 1.3.2
  1318. Wednesday, September 27, 2016
  1319. ====================================
  1320. - Fix build of hb-coretext on older OS X versions.
  1321. Overview of changes leading to 1.3.1
  1322. Wednesday, September 7, 2016
  1323. ====================================
  1324. - Blacklist bad GDEF of more fonts (Padauk).
  1325. - More CoreText backend crash fixes with OS X 10.9.5.
  1326. - Misc fixes.
  1327. Overview of changes leading to 1.3.0
  1328. Thursday, July 21, 2016
  1329. ====================================
  1330. - Update to Unicode 9.0.0
  1331. - Move Javanese from Indic shaper to Universal Shaping Engine.
  1332. - Allow MultipleSubst to delete a glyph (matching Windows engine).
  1333. - Update Universal Shaping Engine to latest draft from Microsoft.
  1334. - DirectWrite backend improvements. Note: this backend is for testing ONLY.
  1335. - CoreText backend improvements with unreachable fonts.
  1336. - Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
  1337. - Blacklist bad GDEF of more fonts (Tahoma & others).
  1338. - Misc fixes.
  1339. Overview of changes leading to 1.2.7
  1340. Monday, May 2, 2016
  1341. ====================================
  1342. - Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
  1343. - Fix Mongolian Free Variation Selectors shaping with certain fonts.
  1344. - Fix Tibetan shorthand contractions shaping.
  1345. - Improved list of language tag mappings.
  1346. - Unbreak build on Windows CE.
  1347. - Make 'glyf' table loading lazy in hb-ot-font.
  1348. Overview of changes leading to 1.2.6
  1349. Friday, April 8, 2016
  1350. ====================================
  1351. - Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
  1352. - DirectWrite backend improvements. Note: DirectWrite backend is
  1353. exclusively for our internal testing and should NOT be used in any
  1354. production system whatsoever.
  1355. Overview of changes leading to 1.2.5
  1356. Monday, April 4, 2016
  1357. ====================================
  1358. - Fix GDEF mark-filtering-set, which was broken in 1.2.3.
  1359. Overview of changes leading to 1.2.4
  1360. Thursday, March 17, 2016
  1361. ====================================
  1362. - Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
  1363. I really hope we don't discover broken fonts that shape badly with this
  1364. change.
  1365. - Misc build and other minor fixes.
  1366. - API changes:
  1367. - Added HB_NDEBUG. It's fine for production systems to define this to
  1368. disable high-overhead debugging checks. However, I also reduced the
  1369. overhead of those checks, so it's a non-issue right now. You can
  1370. forget it. Just not defining anything at all is fine.
  1371. Overview of changes leading to 1.2.3
  1372. Thursday, February 25, 2016
  1373. ====================================
  1374. - Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
  1375. due to bug in glyph class of ASCII double-quote character. This should
  1376. address "regression" introduced in 1.2.0 when we switched mark zeroing
  1377. in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
  1378. This fourth release in a week should finally stabilize things...
  1379. - hb-ot-font's get_glyph() implementation saw some optimizations. Though,
  1380. might be really hard to measure in real-world situations.
  1381. - Also, two rather small API changes:
  1382. We now disable some time-consuming internal bookkeeping if built with NDEBUG
  1383. defined. This is a first time that we use NDEBUG to disable debug code. If
  1384. there exist production systems that do NOT want to enable NDEBUG, please let
  1385. me know and I'll add HB_NDEBUG.
  1386. Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
  1387. New API:
  1388. - hb_font_get_nominal_glyph_func_t
  1389. - hb_font_get_variation_glyph_func_t
  1390. - hb_font_funcs_set_nominal_glyph_func()
  1391. - hb_font_funcs_set_variation_glyph_func()
  1392. - hb_font_get_nominal_glyph()
  1393. - hb_font_get_variation_glyph()
  1394. Deprecated API:
  1395. - hb_font_get_glyph_func_t
  1396. - hb_font_funcs_set_glyph_func()
  1397. Clients that implement their own font-funcs are encouraged to replace
  1398. their get_glyph() implementation with a get_nominal_glyph() and
  1399. get_variation_glyph() pair. The variation version can assume that
  1400. variation_selector argument is not zero. Old (deprecated) functions
  1401. will continue working indefinitely using internal gymnastics; it is
  1402. just more efficient to use the new functions.
  1403. Overview of changes leading to 1.2.2
  1404. Wednesday, February 24, 2016
  1405. ====================================
  1406. - Fix regression with mark positioning with fonts that have
  1407. non-zero mark advances. This was introduced in 1.2.0 while
  1408. trying to make mark and cursive attachments to work together.
  1409. I have partially reverted that, so this version is much more
  1410. like what we had before. All clients who updated to 1.2.0
  1411. should update to this version.
  1412. Overview of changes leading to 1.2.1
  1413. Tuesday, February 23, 2016
  1414. ====================================
  1415. - CoreText: Fix bug with wrong scale if font scale was changed later.
  1416. https://github.com/libass/libass/issues/212
  1417. - CoreText: Drastically speed up font initialization.
  1418. - CoreText: Fix tiny leak.
  1419. - Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
  1420. https://github.com/harfbuzz/harfbuzz/issues/217
  1421. - Add test/shaping/README.md about how to add tests to the suite.
  1422. Overview of changes leading to 1.2.0
  1423. Friday, February 19, 2016
  1424. ====================================
  1425. - Fix various issues (hangs mostly) in case of memory allocation failure.
  1426. - Change mark zeroing types of most shapers from BY_UNICODE_LATE to
  1427. BY_GDEF_LATE. This seems to be what Uniscribe does.
  1428. - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
  1429. what Windows does.
  1430. - Allow GPOS cursive connection on marks, and fix the interaction with
  1431. mark attachment. This work resulted in some changes to how mark
  1432. attachments work. See:
  1433. https://github.com/harfbuzz/harfbuzz/issues/211
  1434. https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
  1435. - Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
  1436. - Add nmake-based build system for Windows.
  1437. - Minor speedup.
  1438. - Misc. improvements.
  1439. Overview of changes leading to 1.1.3
  1440. Monday, January 11, 2016
  1441. ====================================
  1442. - Ported Indic shaper to Unicode 8.0 data.
  1443. - Universal Shaping Engine fixes.
  1444. - Speed up CoreText shaper when font fallback happens in CoreText.
  1445. - Documentation improvements, thanks to Khaled Hosny.
  1446. - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
  1447. - Misc bug fixes.
  1448. - New API:
  1449. * Font extents:
  1450. hb_font_extents_t
  1451. hb_font_get_font_extents_func_t
  1452. hb_font_get_font_h_extents_func_t
  1453. hb_font_get_font_v_extents_func_t
  1454. hb_font_funcs_set_font_h_extents_func
  1455. hb_font_funcs_set_font_v_extents_func
  1456. hb_font_get_h_extents
  1457. hb_font_get_v_extents
  1458. hb_font_get_extents_for_direction
  1459. * Buffer message (aka debug):
  1460. hb_buffer_message_func_t
  1461. hb_buffer_set_message_func()
  1462. Actual message protocol to be fleshed out later.
  1463. Overview of changes leading to 1.1.2
  1464. Wednesday, November 26, 2015
  1465. ====================================
  1466. - Fix badly-broken fallback shaper that affected terminology.
  1467. https://github.com/harfbuzz/harfbuzz/issues/187
  1468. - Fix y_scaling in Graphite shaper.
  1469. - API changes:
  1470. * An unset glyph_h_origin() function in font-funcs now (sensibly)
  1471. implies horizontal origin at 0,0. Ie, the nil callback returns
  1472. true instead of false. As such, implementations that have a
  1473. glyph_h_origin() that simply returns true, can remove that function
  1474. with HarfBuzz >= 1.1.2. This results in a tiny speedup.
  1475. Overview of changes leading to 1.1.1
  1476. Wednesday, November 24, 2015
  1477. ====================================
  1478. - Build fixes, specially for hb-coretext.
  1479. Overview of changes leading to 1.1.0
  1480. Wednesday, November 18, 2015
  1481. ====================================
  1482. - Implement 'stch' stretch feature for Syriac Abbreviation Mark.
  1483. https://github.com/harfbuzz/harfbuzz/issues/141
  1484. - Disable use of decompose_compatibility() callback.
  1485. - Implement "shaping" of various Unicode space characters, even
  1486. if the font does not support them.
  1487. https://github.com/harfbuzz/harfbuzz/issues/153
  1488. - If font does not support U+2011 NO-BREAK HYPHEN, fallback to
  1489. U+2010 HYPHEN.
  1490. - Changes resulting from libFuzzer continuous fuzzing:
  1491. * Reject font tables that need more than 8 edits,
  1492. * Bound buffer growth during shaping to 32x,
  1493. * Fix assertions and other issues at OOM / buffer max-growth.
  1494. - Misc fixes and optimizations.
  1495. - API changes:
  1496. * All fonts created with hb_font_create() now inherit from
  1497. (ie. have parent) hb_font_get_empty().
  1498. Overview of changes leading to 1.0.6
  1499. Thursday, October 15, 2015
  1500. ====================================
  1501. - Reduce max nesting level in OT lookups from 8 to 6.
  1502. Should not affect any real font as far as I know.
  1503. - Fix memory access issue in ot-font.
  1504. - Revert default load-flags of fonts created using hb_ft_font_create()
  1505. back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
  1506. last release (1.0.5), but caused major issues, so revert.
  1507. https://github.com/harfbuzz/harfbuzz/issues/143
  1508. Overview of changes leading to 1.0.5
  1509. Tuesday, October 13, 2015
  1510. ====================================
  1511. - Fix multiple memory access bugs discovered using libFuzzer.
  1512. https://github.com/harfbuzz/harfbuzz/issues/139
  1513. Everyone should upgrade to this version as soon as possible.
  1514. We now have continuous fuzzing set up, to avoid issues like
  1515. these creeping in again.
  1516. - Misc fixes.
  1517. - New API:
  1518. * hb_font_set_parent().
  1519. * hb_ft_font_[sg]et_load_flags()
  1520. The default flags for fonts created using hb_ft_font_create()
  1521. has changed to default to FT_LOAD_DEFAULT now. Previously it
  1522. was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
  1523. - API changes:
  1524. * Fonts now default to units-per-EM as their scale, instead of 0.
  1525. * hb_font_create_sub_font() does NOT make parent font immutable
  1526. anymore. hb_font_make_immutable() does.
  1527. Overview of changes leading to 1.0.4
  1528. Wednesday, September 30, 2015
  1529. ====================================
  1530. - Fix minor out-of-bounds read error.
  1531. Overview of changes leading to 1.0.3
  1532. Tuesday, September 1, 2015
  1533. ====================================
  1534. - Start of user documentation, from Simon Cozens!
  1535. - Implement glyph_extents() for TrueType fonts in hb-ot-font.
  1536. - Improve GPOS cursive attachments with conflicting lookups.
  1537. - More fixes for cluster-level = 1.
  1538. - Uniscribe positioning fix.
  1539. Overview of changes leading to 1.0.2
  1540. Wednesday, August 19, 2015
  1541. ====================================
  1542. - Fix shaping with cluster-level > 0.
  1543. - Fix Uniscribe backend font-size scaling.
  1544. - Declare dependencies in harfbuzz.pc.
  1545. FreeType is not declared though, to avoid bugs in pkg-config
  1546. 0.26 with recursive dependencies.
  1547. - Slightly improved debug infrastructure. More to come later.
  1548. - Misc build fixes.
  1549. Overview of changes leading to 1.0.1
  1550. Monday, July 27, 2015
  1551. ====================================
  1552. - Fix out-of-bounds access in USE shaper.
  1553. Overview of changes leading to 1.0.0
  1554. Sunday, July 26, 2015
  1555. ====================================
  1556. - Implement Universal Shaping Engine:
  1557. https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
  1558. http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
  1559. - Bump version to 1.0.0. The soname was NOT bumped.
  1560. Overview of changes leading to 0.9.42
  1561. Thursday, July 26, 2015
  1562. =====================================
  1563. - New API to allow for retrieving finer-grained cluster
  1564. mappings if the client desires to handle them. Default
  1565. behavior is unchanged.
  1566. - Fix cluster merging when removing default-ignorables.
  1567. - Update to Unicode 8.0
  1568. - hb-graphite2 fixes.
  1569. - Misc fixes.
  1570. - Removed HB_NO_MERGE_CLUSTERS hack.
  1571. - New API:
  1572. hb_buffer_cluster_level_t enum
  1573. hb_buffer_get_cluster_level()
  1574. hb_buffer_set_cluster_level()
  1575. hb-shape / hb-view --cluster-level
  1576. Overview of changes leading to 0.9.41
  1577. Thursday, June 18, 2015
  1578. =====================================
  1579. - Fix hb-coretext with trailing whitespace in right-to-left.
  1580. - New API: hb_buffer_reverse_range().
  1581. - Allow implementing atomic ops in config.h.
  1582. - Fix hb_language_t in language bindings.
  1583. - Misc fixes.
  1584. Overview of changes leading to 0.9.40
  1585. Friday, March 20, 2015
  1586. =====================================
  1587. - Another hb-coretext crasher fix. Ouch!
  1588. - Happy Norouz!
  1589. Overview of changes leading to 0.9.39
  1590. Wednesday, March 4, 2015
  1591. =====================================
  1592. - Critical hb-coretext fixes.
  1593. - Optimizations and refactoring; no functional change
  1594. expected.
  1595. - Misc build fixes.
  1596. Overview of changes leading to 0.9.38
  1597. Friday, January 23, 2015
  1598. =====================================
  1599. - Fix minor out-of-bounds access in Indic shaper.
  1600. - Change New Tai Lue shaping engine from South-East Asian to default,
  1601. reflecting change in Unicode encoding model.
  1602. - Add hb-shape --font-size. Can take up to two numbers for separate
  1603. x / y size.
  1604. - Fix CoreText and FreeType scale issues with negative scales.
  1605. - Reject blobs larger than 2GB. This might break some icu-le-hb clients
  1606. that need security fixes. See:
  1607. http://www.icu-project.org/trac/ticket/11450
  1608. - Avoid accessing font tables during face destruction, in casce rogue
  1609. clients released face data already.
  1610. - Fix up gobject-introspection a bit. Python bindings kinda working.
  1611. See README.python.
  1612. - Misc fixes.
  1613. - API additions:
  1614. hb_ft_face_create_referenced()
  1615. hb_ft_font_create_referenced()
  1616. Overview of changes leading to 0.9.37
  1617. Wednesday, December 17, 2014
  1618. =====================================
  1619. - Fix out-of-bounds access in Context lookup format 3.
  1620. - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
  1621. Overview of changes leading to 0.9.36
  1622. Thursday, November 20, 2014
  1623. =====================================
  1624. - First time that three months went by without a release since
  1625. 0.9.2 was released on August 10, 2012!
  1626. - Fix performance bug in hb_ot_collect_glyphs():
  1627. https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
  1628. - Add basic vertical-text support to hb-ot-font.
  1629. - Misc build fixes.
  1630. Overview of changes leading to 0.9.35
  1631. Saturday, August 13, 2014
  1632. =====================================
  1633. - Fix major shape-plan caching bug when more than one shaper were
  1634. provided to hb_shape_full() (as exercised by XeTeX).
  1635. http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
  1636. - Fix Arabic fallback shaping regression. This was broken in 0.9.32.
  1637. - Major hb-coretext fixes. That backend is complete now, including
  1638. respecing buffer direction and language, down to vertical writing.
  1639. - Build fixes for Windows CE. Should build fine now.
  1640. - Misc fixes:
  1641. Use atexit() only if it's safe to call from shared library
  1642. https://bugs.freedesktop.org/show_bug.cgi?id=82246
  1643. Mandaic had errors in its Unicode Joining_Type
  1644. https://bugs.freedesktop.org/show_bug.cgi?id=82306
  1645. - API changes:
  1646. * hb_buffer_clear_contents() does not reset buffer flags now.
  1647. After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
  1648. need to set flags for different pieces of text. The flags now
  1649. are something the client sets up once, depending on how it
  1650. actually uses the buffer. As such, don't clear it in
  1651. clear_contents().
  1652. I don't expect any changes to be needed to any existing client.
  1653. Overview of changes leading to 0.9.34
  1654. Saturday, August 2, 2014
  1655. =====================================
  1656. - hb_feature_from_string() now accepts CSS font-feature-settings format.
  1657. - As a result, hb-shape / hb-view --features also accept CSS-style strings.
  1658. Eg, "'liga' off" is accepted now.
  1659. - Add old-spec Myanmar shaper:
  1660. https://bugs.freedesktop.org/show_bug.cgi?id=81775
  1661. - Don't apply 'calt' in Hangul shaper.
  1662. - Fix mark advance zeroing for Hebrew shaper:
  1663. https://bugs.freedesktop.org/show_bug.cgi?id=76767
  1664. - Implement Windows-1256 custom Arabic shaping. Only built on Windows,
  1665. and requires help from get_glyph(). Used by Firefox.
  1666. https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
  1667. - Disable 'liga' in vertical text.
  1668. - Build fixes.
  1669. - API changes:
  1670. * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
  1671. Previously, we expected users to provide BOT/EOT flags when the
  1672. text *segment* was at paragraph boundaries. This meant that for
  1673. clients that provide full paragraph to HarfBuzz (eg. Pango), they
  1674. had code like this:
  1675. hb_buffer_set_flags (hb_buffer,
  1676. (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
  1677. (item_offset + item_length == paragraph_length ?
  1678. HB_BUFFER_FLAG_EOT : 0));
  1679. hb_buffer_add_utf8 (hb_buffer,
  1680. paragraph_text, paragraph_length,
  1681. item_offset, item_length);
  1682. After this change such clients can simply say:
  1683. hb_buffer_set_flags (hb_buffer,
  1684. HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
  1685. hb_buffer_add_utf8 (hb_buffer,
  1686. paragraph_text, paragraph_length,
  1687. item_offset, item_length);
  1688. Ie, HarfBuzz itself checks whether the segment is at the beginning/end
  1689. of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
  1690. continue not setting any flags whatsoever.
  1691. Another way to put it is: if there's pre-context text in the buffer,
  1692. HarfBuzz ignores the BOT flag. If there's post-context, it ignores
  1693. EOT flag.
  1694. Overview of changes leading to 0.9.33
  1695. Tuesday, July 22, 2014
  1696. =====================================
  1697. - Turn off ARabic 'cswh' feature that was accidentally turned on.
  1698. - Add HB_TAG_MAX_SIGNED.
  1699. - Make hb_face_make_immutable() really make face immutable!
  1700. - Windows build fixes.
  1701. Overview of changes leading to 0.9.32
  1702. Thursday, July 17, 2014
  1703. =====================================
  1704. - Apply Arabic shaping features in spec order exactly.
  1705. - Another fix for Mongolian free variation selectors.
  1706. - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
  1707. together.
  1708. - Minor adjustment to U+FFFD logic.
  1709. - Fix hb-coretext build.
  1710. Overview of changes leading to 0.9.31
  1711. Wednesday, July 16, 2014
  1712. =====================================
  1713. - Only accept valid UTF-8/16/32; we missed many cases before.
  1714. - Better shaping of invalid UTF-8/16/32. Falls back to
  1715. U+FFFD REPLACEMENT CHARACTER now.
  1716. - With all changes in this release, the buffer will contain fully
  1717. valid Unicode after hb_buffer_add_utf8/16/32 no matter how
  1718. broken the input is. This can be overridden though. See below.
  1719. - Fix Mongolian Variation Selectors for fonts without GDEF.
  1720. - Fix minor invalid buffer access.
  1721. - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
  1722. now uses these instead of private tags.
  1723. - Build fixes.
  1724. - New API:
  1725. * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
  1726. used to do, ie. no validity check on the input at all. add_utf32
  1727. now replaces invalid Unicode codepoints with the replacement
  1728. character (see below).
  1729. * hb_buffer_set_replacement_codepoint()
  1730. * hb_buffer_get_replacement_codepoint()
  1731. Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
  1732. we detected broken input, we replaced that with (hb_codepoint_t)-1.
  1733. This has changed to use U+FFFD now, but can be changed using these
  1734. new API.
  1735. Overview of changes leading to 0.9.30
  1736. Wednesday, July 9, 2014
  1737. =====================================
  1738. - Update to Unicode 7.0.0:
  1739. * New scripts Manichaean and Psalter Pahlavi are shaped using
  1740. Arabic shaper.
  1741. * All the other new scripts to through the generic shaper for
  1742. now.
  1743. - Minor Indic improvements.
  1744. - Fix graphite2 backend cluster mapping [crasher!]
  1745. - API changes:
  1746. * New HB_SCRIPT_* values for Unicode 7.0 scripts.
  1747. * New function hb_ot_layout_language_get_required_feature().
  1748. - Build fixes.
  1749. Overview of changes leading to 0.9.29
  1750. Thursday, May 29, 2014
  1751. =====================================
  1752. - Implement cmap in hb-ot-font.h. No variation-selectors yet.
  1753. - Myanmar: Allow MedialYa+Asat.
  1754. - Various Indic fixes:
  1755. * Support most characters in Extended Devanagary and Vedic
  1756. Unicode blocks.
  1757. * Allow digits and a some punctuation as consonant placeholders.
  1758. - Build fixes.
  1759. Overview of changes leading to 0.9.28
  1760. Monday, April 28, 2014
  1761. =====================================
  1762. - Unbreak old-spec Indic shaping. (bug 76705)
  1763. - Fix shaping of U+17DD and U+0FC6.
  1764. - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
  1765. for shipping libraries. It's an option for further experimentation
  1766. right now. When we are sure how to do it properly, we will add
  1767. public run-time API for the functionality.
  1768. - Build fixes.
  1769. Overview of changes leading to 0.9.27
  1770. Tuesday, March 18, 2014
  1771. =====================================
  1772. - Don't use "register" storage class specifier
  1773. - Wrap definition of free_langs() with HAVE_ATEXIT
  1774. - Add coretext_aat shaper and hb_coretext_face_create() constructor
  1775. - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
  1776. - Add Myanmar test case from OpenType Myanmar spec
  1777. - Only do fallback Hebrew composition if no GPOS 'mark' available
  1778. - Allow bootstrapping without gtk-doc
  1779. - Use AM_MISSING_PROG for ragel and git
  1780. - Typo in ucdn's Makefile.am
  1781. - Improve MemoryBarrier() implementation
  1782. Overview of changes leading to 0.9.26
  1783. Thursday, January 30, 2014
  1784. =====================================
  1785. - Misc fixes.
  1786. - Fix application of 'rtlm' feature.
  1787. - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
  1788. - New header: hb-ot-shape.h
  1789. - Uniscribe: fix scratch-buffer accounting.
  1790. - Reorder Tai Tham SAKOT to after tone-marks.
  1791. - Add Hangul shaper.
  1792. - New files:
  1793. hb-ot-shape-complex-hangul.cc
  1794. hb-ot-shape-complex-hebrew.cc
  1795. hb-ot-shape-complex-tibetan.cc
  1796. - Disable 'cswh' feature in Arabic shaper.
  1797. - Coretext: better handle surrogate pairs.
  1798. - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
  1799. Overview of changes leading to 0.9.25
  1800. Wednesday, December 4, 2013
  1801. =====================================
  1802. - Myanmar shaper improvements.
  1803. - Avoid font fallback in CoreText backend.
  1804. - Additional OpenType language tag mappiongs.
  1805. - More aggressive shape-plan caching.
  1806. - Build with / require automake 1.13.
  1807. - Build with libtool 2.4.2.418 alpha to support ppc64le.
  1808. Overview of changes leading to 0.9.24
  1809. Tuesday, November 13, 2013
  1810. =====================================
  1811. - Misc compiler warning fixes with clang.
  1812. - No functional changes.
  1813. Overview of changes leading to 0.9.23
  1814. Monday, October 28, 2013
  1815. =====================================
  1816. - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
  1817. - Fix (Chain)Context recursion with non-monotone lookup positions.
  1818. - Misc Indic bug fixes.
  1819. - New Javanese / Buginese shaping, similar to Windows 8.1.
  1820. Overview of changes leading to 0.9.22
  1821. Thursday, October 3, 2013
  1822. =====================================
  1823. - Fix use-after-end-of-scope in hb_language_from_string().
  1824. - Fix hiding of default_ignorables if font doesn't have space glyph.
  1825. - Protect against out-of-range lookup indices.
  1826. - API Changes:
  1827. * Added hb_ot_layout_table_get_lookup_count()
  1828. Overview of changes leading to 0.9.21
  1829. Monday, September 16, 2013
  1830. =====================================
  1831. - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
  1832. - Remove (long disabled) hb-old and hb-icu-le test shapers.
  1833. - Misc gtk-doc and gobject-introspection annotations.
  1834. - Misc fixes.
  1835. - API changes:
  1836. * Add HB_SET_VALUE_INVALID
  1837. Overview of changes leading to 0.9.20
  1838. Thursday, August 29, 2013
  1839. =====================================
  1840. General:
  1841. - Misc substitute_closure() fixes.
  1842. - Build fixes.
  1843. Documentation:
  1844. - gtk-doc boilerplate integrated. Docs are built now, but
  1845. contain no contents. By next release hopefully we have
  1846. some content in. Enable using --enable-gtk-doc.
  1847. GObject and Introspection:
  1848. - Added harfbuzz-gobject library (hb-gobject.h) that has type
  1849. bindings for all HarfBuzz objects and enums. Enable using
  1850. --with-gobject.
  1851. - Added gobject-introspection boilerplate. Nothing useful
  1852. right now. Work in progress. Gets enabled automatically if
  1853. --with-gobject is used. Override with --disable-introspection.
  1854. OpenType shaper:
  1855. - Apply 'mark' in Myanmar shaper.
  1856. - Don't apply 'dlig' by default.
  1857. Uniscribe shaper:
  1858. - Support user features.
  1859. - Fix loading of fonts that are also installed on the system.
  1860. - Fix shaping of Arabic Presentation Forms.
  1861. - Fix build with wide chars.
  1862. CoreText shaper:
  1863. - Support user features.
  1864. Source changes:
  1865. - hb_face_t code moved to hb-face.h / hb-face.cc.
  1866. - Added hb-deprecated.h.
  1867. API changes:
  1868. - Added HB_DISABLE_DEPRECATED.
  1869. - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
  1870. HB_SCRIPT_CANADIAN_SYLLABICS.
  1871. - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
  1872. HB_BUFFER_FLAG_DEFAULT.
  1873. - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
  1874. HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
  1875. Overview of changes leading to 0.9.19
  1876. Tuesday, July 16, 2013
  1877. =====================================
  1878. - Build fixes.
  1879. - Better handling of multiple variation selectors in a row.
  1880. - Pass on variation selector to GSUB if not consumed by cmap.
  1881. - Fix undefined memory access.
  1882. - Add Javanese config to Indic shaper.
  1883. - Misc bug fixes.
  1884. Overview of changes leading to 0.9.18
  1885. Tuesday, May 28, 2013
  1886. =====================================
  1887. New build system:
  1888. - All unneeded code is all disabled by default,
  1889. - Uniscribe and CoreText shapers can be enabled with their --with options,
  1890. - icu_le and old shapers cannot be enabled for now,
  1891. - glib, freetype, and cairo will be detected automatically.
  1892. They can be force on/off'ed with their --with options,
  1893. - icu and graphite2 are default off, can be enabled with their --with
  1894. options,
  1895. Moreover, ICU support is now build into a separate library:
  1896. libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
  1897. Distros can enable ICU now without every application on earth
  1898. getting linked to via libharfbuzz.so.
  1899. For distros I recommend that they make sure they are building --with-glib
  1900. --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
  1901. And package harfbuzz and harfbuzz-icu separately.
  1902. Overview of changes leading to 0.9.17
  1903. Monday, May 20, 2013
  1904. =====================================
  1905. - Build fixes.
  1906. - Fix bug in hb_set_get_min().
  1907. - Fix regression with Arabic mark positioning / width-zeroing.
  1908. Overview of changes leading to 0.9.16
  1909. Friday, April 19, 2013
  1910. =====================================
  1911. - Major speedup in OpenType lookup processing. With the Amiri
  1912. Arabic font, this release is over 3x faster than previous
  1913. release. All scripts / languages should see this speedup.
  1914. - New --num-iterations option for hb-shape / hb-view; useful for
  1915. profiling.
  1916. Overview of changes leading to 0.9.15
  1917. Friday, April 05, 2013
  1918. =====================================
  1919. - Build fixes.
  1920. - Fix crasher in graphite2 shaper.
  1921. - Fix Arabic mark width zeroing regression.
  1922. - Don't compose Hangul jamo into Unicode syllables.
  1923. Overview of changes leading to 0.9.14
  1924. Thursday, March 21, 2013
  1925. =====================================
  1926. - Build fixes.
  1927. - Fix time-consuming sanitize with malicious fonts.
  1928. - Implement hb_buffer_deserialize_glyphs() for both json and text.
  1929. - Do not ignore Hangul filler characters.
  1930. - Indic fixes:
  1931. * Fix Malayalam pre-base reordering interaction with post-forms.
  1932. * Further adjust ZWJ handling. Should fix known regressions from
  1933. 0.9.13.
  1934. Overview of changes leading to 0.9.13
  1935. Thursday, February 25, 2013
  1936. =====================================
  1937. - Build fixes.
  1938. - Ngapi HarfBuzz Hackfest in London (February 2013):
  1939. * Fixed all known Indic bugs,
  1940. * New Win8-style Myanmar shaper,
  1941. * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
  1942. * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
  1943. matching GSUB/GPOS lookups,
  1944. * Fix 'Phags-Pa U+A872 shaping,
  1945. * Fix partial disabling of default-on features,
  1946. * Allow disabling of TrueType kerning.
  1947. - Fix possible crasher with broken fonts with overlapping tables.
  1948. - Removed generated files from git again. So, one needs ragel to
  1949. bootstrap from the git tree.
  1950. API changes:
  1951. - hb_shape() and related APIs now abort if buffer direction is
  1952. HB_DIRECTION_INVALID. Previously, hb_shape() was calling
  1953. hb_buffer_guess_segment_properties() on the buffer before
  1954. shaping. The heuristics in that function are fragile. If the
  1955. user really wants the old behvaior, they can call that function
  1956. right before calling hb_shape() to get the old behavior.
  1957. - hb_blob_create_sub_blob() always creates sub-blob with
  1958. HB_MEMORY_MODE_READONLY. See comments for the reason.
  1959. Overview of changes leading to 0.9.12
  1960. Thursday, January 18, 2013
  1961. =====================================
  1962. - Build fixes for Sun compiler.
  1963. - Minor bug fix.
  1964. Overview of changes leading to 0.9.11
  1965. Thursday, January 10, 2013
  1966. =====================================
  1967. - Build fixes.
  1968. - Fix GPOS mark attachment with null Anchor offsets.
  1969. - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
  1970. - Fix multi-threaded shaper data creation crash.
  1971. - Add atomic ops for Solaris.
  1972. API changes:
  1973. - Rename hb_buffer_clear() to hb_buffer_clear_contents().
  1974. Overview of changes leading to 0.9.10
  1975. Thursday, January 3, 2013
  1976. =====================================
  1977. - [Indic] Fixed rendering of Malayalam dot-reph
  1978. - Updated OT language tags.
  1979. - Updated graphite2 backend.
  1980. - Improved hb_ot_layout_get_size_params() logic.
  1981. - Improve hb-shape/hb-view help output.
  1982. - Fixed hb-set.h implementation to not crash.
  1983. - Fixed various issues with hb_ot_layout_collect_lookups().
  1984. - Various build fixes.
  1985. New API:
  1986. hb_graphite2_face_get_gr_face()
  1987. hb_graphite2_font_get_gr_font()
  1988. hb_coretext_face_get_cg_font()
  1989. Modified API:
  1990. hb_ot_layout_get_size_params()
  1991. Overview of changes leading to 0.9.9
  1992. Wednesday, December 5, 2012
  1993. ====================================
  1994. - Fix build on Windows.
  1995. - Minor improvements.
  1996. Overview of changes leading to 0.9.8
  1997. Tuesday, December 4, 2012
  1998. ====================================
  1999. - Actually implement hb_shape_plan_get_shaper ().
  2000. - Make UCDB data tables const.
  2001. - Lots of internal refactoring in OTLayout tables.
  2002. - Flesh out hb_ot_layout_lookup_collect_glyphs().
  2003. New API:
  2004. hb_ot_layout_collect_lookups()
  2005. hb_ot_layout_get_size_params()
  2006. Overview of changes leading to 0.9.7
  2007. Sunday, November 21, 2012
  2008. ====================================
  2009. HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
  2010. - Fix Arabic contextual joining using pre-context text.
  2011. - Fix Sinhala "split matra" mess.
  2012. - Fix Khmer shaping with broken fonts.
  2013. - Implement Thai "PUA" shaping for old fonts.
  2014. - Do NOT route Kharoshthi script through the Indic shaper.
  2015. - Disable fallback positioning for Indic and Thai shapers.
  2016. - Misc fixes.
  2017. hb-shape / hb-view changes:
  2018. - Add --text-before and --text-after
  2019. - Add --bot / --eot / --preserve-default-ignorables
  2020. - hb-shape --output-format=json
  2021. New API:
  2022. hb_buffer_clear()
  2023. hb_buffer_flags_t
  2024. HB_BUFFER_FLAGS_DEFAULT
  2025. HB_BUFFER_FLAG_BOT
  2026. HB_BUFFER_FLAG_EOT
  2027. HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
  2028. hb_buffer_set_flags()
  2029. hb_buffer_get_flags()
  2030. HB_BUFFER_SERIALIZE_FLAGS
  2031. hb_buffer_serialize_glyphs()
  2032. hb_buffer_deserialize_glyphs()
  2033. hb_buffer_serialize_list_formats()
  2034. hb_set_add_range()
  2035. hb_set_del_range()
  2036. hb_set_get_population()
  2037. hb_set_next_range()
  2038. hb_face_[sg]et_glyph_count()
  2039. hb_segment_properties_t
  2040. HB_SEGMENT_PROPERTIES_DEFAULT
  2041. hb_segment_properties_equal()
  2042. hb_segment_properties_hash()
  2043. hb_buffer_set_segment_properties()
  2044. hb_buffer_get_segment_properties()
  2045. hb_ot_layout_glyph_class_t
  2046. hb_ot_layout_get_glyph_class()
  2047. hb_ot_layout_get_glyphs_in_class()
  2048. hb_shape_plan_t
  2049. hb_shape_plan_create()
  2050. hb_shape_plan_create_cached()
  2051. hb_shape_plan_get_empty()
  2052. hb_shape_plan_reference()
  2053. hb_shape_plan_destroy()
  2054. hb_shape_plan_set_user_data()
  2055. hb_shape_plan_get_user_data()
  2056. hb_shape_plan_execute()
  2057. hb_shape_plan_get_shaper()
  2058. hb_ot_shape_plan_collect_lookups()
  2059. API changes:
  2060. - Remove "mask" parameter from hb_buffer_add().
  2061. - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
  2062. - hb-set.h API const correction.
  2063. - Renamed hb_set_min/max() to hb_set_get_min/max().
  2064. - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
  2065. - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
  2066. Overview of changes leading to 0.9.6
  2067. Sunday, November 13, 2012
  2068. ====================================
  2069. - Don't clear pre-context text if no new context is provided.
  2070. - Fix ReverseChainingSubstLookup, which was totally borked.
  2071. - Adjust output format of hb-shape a bit.
  2072. - Include config.h.in in-tree. Makes it easier for alternate build systems.
  2073. - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
  2074. - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
  2075. - Drop glyphs for all of Unicode Default_Ignorable characters.
  2076. - Misc build fixes.
  2077. Arabic shaper:
  2078. - Enable 'dlig' and 'mset' features in Arabic shaper.
  2079. - Implement 'Phags-pa shaping, improve Mongolian.
  2080. Indic shaper:
  2081. - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
  2082. - Initial support for Consonant Medials.
  2083. - Start adding new-style Myanmar shaping.
  2084. - Make reph and 'pref' logic introspect the font.
  2085. - Route Meetei-Mayek through the Indic shaper.
  2086. - Don't apply 'liga' in Indic shaper.
  2087. - Improve Malayalam pre-base reordering Ra interaction with Chillus.
  2088. Overview of changes leading to 0.9.5
  2089. Sunday, October 14, 2012
  2090. ====================================
  2091. - Synthetic-GSUB Arabic fallback shaping.
  2092. - Misc Indic improvements.
  2093. - Add build system support for pthread.
  2094. - Imported UCDN for in-tree Unicode callbacks implementation.
  2095. - Context-aware Arabic joining.
  2096. - Misc other fixes.
  2097. - New API:
  2098. hb_feature_to/from-string()
  2099. hb_buffer_[sg]et_content_type()
  2100. Overview of changes leading to 0.9.4
  2101. Tuesday, Sep 03, 2012
  2102. ====================================
  2103. - Indic improvements with old-spec Malayalam.
  2104. - Better fallback glyph positioning, specially with Thai / Lao marks.
  2105. - Implement dotted-circle insertion.
  2106. - Better Arabic fallback shaping / ligation.
  2107. - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
  2108. - Misc fixes.
  2109. Overview of changes leading to 0.9.3
  2110. Friday, Aug 18, 2012
  2111. ====================================
  2112. - Fixed fallback mark positioning for left-to-right text.
  2113. - Improve mark positioning for the remaining combining classes.
  2114. - Unbreak Thai and fallback Arabic shaping.
  2115. - Port Arabic shaper to shape-plan caching.
  2116. - Use new ICU normalizer functions.
  2117. Overview of changes leading to 0.9.2
  2118. Friday, Aug 10, 2012
  2119. ====================================
  2120. - Over a thousand commits! This is the first major release of HarfBuzz.
  2121. - HarfBuzz is feature-complete now! It should be in par, or better, than
  2122. both Pango's shapers and old HarfBuzz / Qt shapers.
  2123. - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
  2124. - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
  2125. Sinhala, N'ko, Mongolian, and Mandaic.
  2126. - New Thai / Lao shaper.
  2127. - Tibetan / Hangul support in the generic shaper.
  2128. - Synthetic GDEF support for fonts without a GDEF table.
  2129. - Fallback mark positioning for fonts without a GPOS table.
  2130. - Unicode normalization shaping heuristic during glyph mapping.
  2131. - New experimental Graphite2 backend.
  2132. - New Uniscribe backend (primarily for testing).
  2133. - New CoreText backend (primarily for testing).
  2134. - Major optimization and speedup.
  2135. - Test suites and testing infrastructure (work in progress).
  2136. - Greatly improved hb-view cmdline tool.
  2137. - hb-shape cmdline tool.
  2138. - Unicode 6.1 support.
  2139. Summary of API changes:
  2140. o Changed API:
  2141. - Users are expected to only include main header files now (ie. hb.h,
  2142. hb-glib.h, hb-ft.h, ...)
  2143. - All struct tag names had their initial underscore removed.
  2144. Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
  2145. - All set_user_data() functions now take a "replace" boolean parameter.
  2146. - hb_buffer_create() takes zero arguments now.
  2147. Use hb_buffer_pre_allocate() to pre-allocate.
  2148. - hb_buffer_add_utf*() now accept -1 for length parameters,
  2149. meaning "nul-terminated".
  2150. - hb_direction_t enum values changed.
  2151. - All *_from_string() APIs now take a length parameter to allow for
  2152. non-nul-terminated strings. A -1 length means "nul-terminated".
  2153. - Typedef for hb_language_t changed.
  2154. - hb_get_table_func_t renamed to hb_reference_table_func_t.
  2155. - hb_ot_layout_table_choose_script()
  2156. - Various renames in hb-unicode.h.
  2157. o New API:
  2158. - hb_buffer_guess_properties()
  2159. Automatically called by hb_shape().
  2160. - hb_buffer_normalize_glyphs()
  2161. - hb_tag_from_string()
  2162. - hb-coretext.h
  2163. - hb-uniscribe.h
  2164. - hb_face_reference_blob()
  2165. - hb_face_[sg]et_index()
  2166. - hb_face_set_upem()
  2167. - hb_font_get_glyph_name_func_t
  2168. hb_font_get_glyph_from_name_func_t
  2169. hb_font_funcs_set_glyph_name_func()
  2170. hb_font_funcs_set_glyph_from_name_func()
  2171. hb_font_get_glyph_name()
  2172. hb_font_get_glyph_from_name()
  2173. hb_font_glyph_to_string()
  2174. hb_font_glyph_from_string()
  2175. - hb_font_set_funcs_data()
  2176. - hb_ft_font_set_funcs()
  2177. - hb_ft_font_get_face()
  2178. - hb-gobject.h (work in progress)
  2179. - hb_ot_shape_glyphs_closure()
  2180. hb_ot_layout_substitute_closure_lookup()
  2181. - hb-set.h
  2182. - hb_shape_full()
  2183. - hb_unicode_combining_class_t
  2184. - hb_unicode_compose_func_t
  2185. hb_unicode_decompose_func_t
  2186. hb_unicode_decompose_compatibility_func_t
  2187. hb_unicode_funcs_set_compose_func()
  2188. hb_unicode_funcs_set_decompose_func()
  2189. hb_unicode_funcs_set_decompose_compatibility_func()
  2190. hb_unicode_compose()
  2191. hb_unicode_decompose()
  2192. hb_unicode_decompose_compatibility()
  2193. o Removed API:
  2194. - hb_ft_get_font_funcs()
  2195. - hb_ot_layout_substitute_start()
  2196. hb_ot_layout_substitute_lookup()
  2197. hb_ot_layout_substitute_finish()
  2198. hb_ot_layout_position_start()
  2199. hb_ot_layout_position_lookup()
  2200. hb_ot_layout_position_finish()
  2201. Overview of changes leading to 0.6.0
  2202. Friday, May 27, 2011
  2203. ====================================
  2204. - Vertical text support in GPOS
  2205. - Almost all API entries have unit tests now, under test/
  2206. - All thread-safety issues are fixed
  2207. Summary of API changes follows.
  2208. * Simple Types API:
  2209. o New API:
  2210. HB_LANGUAGE_INVALID
  2211. hb_language_get_default()
  2212. hb_direction_to_string()
  2213. hb_direction_from_string()
  2214. hb_script_get_horizontal_direction()
  2215. HB_UNTAG()
  2216. o Renamed API:
  2217. hb_category_t renamed to hb_unicode_general_category_t
  2218. o Changed API:
  2219. hb_language_t is a typed pointers now
  2220. o Removed API:
  2221. HB_TAG_STR()
  2222. * Use ISO 15924 tags for hb_script_t:
  2223. o New API:
  2224. hb_script_from_iso15924_tag()
  2225. hb_script_to_iso15924_tag()
  2226. hb_script_from_string()
  2227. o Changed API:
  2228. HB_SCRIPT_* enum members changed value.
  2229. * Buffer API streamlined:
  2230. o New API:
  2231. hb_buffer_reset()
  2232. hb_buffer_set_length()
  2233. hb_buffer_allocation_successful()
  2234. o Renamed API:
  2235. hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
  2236. hb_buffer_add_glyph() renamed to hb_buffer_add()
  2237. o Removed API:
  2238. hb_buffer_clear()
  2239. hb_buffer_clear_positions()
  2240. o Changed API:
  2241. hb_buffer_get_glyph_infos() takes an out length parameter now
  2242. hb_buffer_get_glyph_positions() takes an out length parameter now
  2243. * Blob API streamlined:
  2244. o New API:
  2245. hb_blob_get_data()
  2246. hb_blob_get_data_writable()
  2247. o Renamed API:
  2248. hb_blob_create_empty() renamed to hb_blob_get_empty()
  2249. o Removed API:
  2250. hb_blob_lock()
  2251. hb_blob_unlock()
  2252. hb_blob_is_writable()
  2253. hb_blob_try_writable()
  2254. o Changed API:
  2255. hb_blob_create() takes user_data before destroy now
  2256. * Unicode functions API:
  2257. o Unicode function vectors can subclass other unicode function vectors now.
  2258. Unimplemented callbacks in the subclass automatically chainup to the parent.
  2259. o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
  2260. take a user_data and its respective destroy callback.
  2261. o New API:
  2262. hb_unicode_funcs_get_empty()
  2263. hb_unicode_funcs_get_default()
  2264. hb_unicode_funcs_get_parent()
  2265. o Changed API:
  2266. hb_unicode_funcs_create() now takes a parent_funcs.
  2267. o Removed func getter functions:
  2268. hb_unicode_funcs_get_mirroring_func()
  2269. hb_unicode_funcs_get_general_category_func()
  2270. hb_unicode_funcs_get_script_func()
  2271. hb_unicode_funcs_get_combining_class_func()
  2272. hb_unicode_funcs_get_eastasian_width_func()
  2273. * Face API:
  2274. o Renamed API:
  2275. hb_face_get_table() renamed to hb_face_reference_table()
  2276. hb_face_create_for_data() renamed to hb_face_create()
  2277. o Changed API:
  2278. hb_face_create_for_tables() takes user_data before destroy now
  2279. hb_face_reference_table() returns empty blob instead of NULL
  2280. hb_get_table_func_t accepts the face as first parameter now
  2281. * Font API:
  2282. o Fonts can subclass other fonts now. Unimplemented callbacks in the
  2283. subclass automatically chainup to the parent. When chaining up,
  2284. scale is adjusted if the parent font has a different scale.
  2285. o All hb_font_funcs_t callbacks take a user_data now. Their setters
  2286. take a user_data and its respective destroy callback.
  2287. o New API:
  2288. hb_font_get_parent()
  2289. hb_font_funcs_get_empty()
  2290. hb_font_create_sub_font()
  2291. o Removed API:
  2292. hb_font_funcs_copy()
  2293. hb_font_unset_funcs()
  2294. o Removed func getter functions:
  2295. hb_font_funcs_get_glyph_func()
  2296. hb_font_funcs_get_glyph_advance_func()
  2297. hb_font_funcs_get_glyph_extents_func()
  2298. hb_font_funcs_get_contour_point_func()
  2299. hb_font_funcs_get_kerning_func()
  2300. o Changed API:
  2301. hb_font_create() takes a face and references it now
  2302. hb_font_set_funcs() takes user_data before destroy now
  2303. hb_font_set_scale() accepts signed integers now
  2304. hb_font_get_contour_point_func_t now takes glyph first, then point_index
  2305. hb_font_get_glyph_func_t returns a success boolean now
  2306. * Changed object model:
  2307. o All object types have a _get_empty() now:
  2308. hb_blob_get_empty()
  2309. hb_buffer_get_empty()
  2310. hb_face_get_empty()
  2311. hb_font_get_empty()
  2312. hb_font_funcs_get_empty()
  2313. hb_unicode_funcs_get_empty()
  2314. o Added _set_user_data() and _get_user_data() for all object types:
  2315. hb_blob_get_user_data()
  2316. hb_blob_set_user_data()
  2317. hb_buffer_get_user_data()
  2318. hb_buffer_set_user_data()
  2319. hb_face_get_user_data()
  2320. hb_face_set_user_data()
  2321. hb_font_funcs_get_user_data()
  2322. hb_font_funcs_set_user_data()
  2323. hb_font_get_user_data()
  2324. hb_font_set_user_data()
  2325. hb_unicode_funcs_get_user_data()
  2326. hb_unicode_funcs_set_user_data()
  2327. o Removed the _get_reference_count() from all object types:
  2328. hb_blob_get_reference_count()
  2329. hb_buffer_get_reference_count()
  2330. hb_face_get_reference_count()
  2331. hb_font_funcs_get_reference_count()
  2332. hb_font_get_reference_count()
  2333. hb_unicode_funcs_get_reference_count()
  2334. o Added _make_immutable() and _is_immutable() for all object types except for buffer:
  2335. hb_blob_make_immutable()
  2336. hb_blob_is_immutable()
  2337. hb_face_make_immutable()
  2338. hb_face_is_immutable()
  2339. * Changed API for vertical text support
  2340. o The following callbacks where removed:
  2341. hb_font_get_glyph_advance_func_t
  2342. hb_font_get_kerning_func_t
  2343. o The following new callbacks added instead:
  2344. hb_font_get_glyph_h_advance_func_t
  2345. hb_font_get_glyph_v_advance_func_t
  2346. hb_font_get_glyph_h_origin_func_t
  2347. hb_font_get_glyph_v_origin_func_t
  2348. hb_font_get_glyph_h_kerning_func_t
  2349. hb_font_get_glyph_v_kerning_func_t
  2350. o The following API removed as such:
  2351. hb_font_funcs_set_glyph_advance_func()
  2352. hb_font_funcs_set_kerning_func()
  2353. hb_font_get_glyph_advance()
  2354. hb_font_get_kerning()
  2355. o New API added instead:
  2356. hb_font_funcs_set_glyph_h_advance_func()
  2357. hb_font_funcs_set_glyph_v_advance_func()
  2358. hb_font_funcs_set_glyph_h_origin_func()
  2359. hb_font_funcs_set_glyph_v_origin_func()
  2360. hb_font_funcs_set_glyph_h_kerning_func()
  2361. hb_font_funcs_set_glyph_v_kerning_func()
  2362. hb_font_get_glyph_h_advance()
  2363. hb_font_get_glyph_v_advance()
  2364. hb_font_get_glyph_h_origin()
  2365. hb_font_get_glyph_v_origin()
  2366. hb_font_get_glyph_h_kerning()
  2367. hb_font_get_glyph_v_kerning()
  2368. o The following higher-leve API added for convenience:
  2369. hb_font_get_glyph_advance_for_direction()
  2370. hb_font_get_glyph_origin_for_direction()
  2371. hb_font_add_glyph_origin_for_direction()
  2372. hb_font_subtract_glyph_origin_for_direction()
  2373. hb_font_get_glyph_kerning_for_direction()
  2374. hb_font_get_glyph_extents_for_origin()
  2375. hb_font_get_glyph_contour_point_for_origin()
  2376. * OpenType Layout API:
  2377. o New API:
  2378. hb_ot_layout_position_start()
  2379. hb_ot_layout_substitute_start()
  2380. hb_ot_layout_substitute_finish()
  2381. * Glue code:
  2382. o New API:
  2383. hb_glib_script_to_script()
  2384. hb_glib_script_from_script()
  2385. hb_icu_script_to_script()
  2386. hb_icu_script_from_script()
  2387. * Version API added:
  2388. o New API:
  2389. HB_VERSION_MAJOR
  2390. HB_VERSION_MINOR
  2391. HB_VERSION_MICRO
  2392. HB_VERSION_STRING
  2393. HB_VERSION_CHECK()
  2394. hb_version()
  2395. hb_version_string()
  2396. hb_version_check()