NEWS 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257
  1. Overview of changes leading to 2.5.1
  2. Friday, May 31, 2019
  3. ====================================
  4. - Fix build with various versions of Visual Studio.
  5. - Improved documentation, thanks to Nathan Willis.
  6. - Bugfix in subsetting glyf table.
  7. - Improved scripts for cross-compiling for Windows using mingw.
  8. - Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER.
  9. A deprecated macro is added for backwards-compatibility.
  10. Overview of changes leading to 2.5.0
  11. Friday, May 24, 2019
  12. ====================================
  13. - This release does not include much functional changes, but includes major internal
  14. code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
  15. dropped.
  16. - New hb-config.hh facility for compiling smaller library for embedded and web usecases.
  17. - New Unicode Character Databse implementation that is half the size of previously-used
  18. UCDN.
  19. - Subsetter improvements.
  20. - Improved documentation, thanks to Nathan Willis.
  21. - Misc shaping fixes.
  22. Overview of changes leading to 2.4.0
  23. Monday, March 25, 2019
  24. ====================================
  25. - Unicode 12.
  26. - Misc fixes.
  27. - Subsetter improvements.
  28. - New API:
  29. HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
  30. hb_directwrite_face_create()
  31. Overview of changes leading to 2.3.1
  32. Wednesday, January 30, 2019
  33. ====================================
  34. - AAT bug fixes.
  35. - Misc internal housekeeping cleanup.
  36. Overview of changes leading to 2.3.0
  37. Thursday, December 20, 2018
  38. ====================================
  39. - Fix regression on big-endian architectures. Ouch!
  40. - Misc bug and build fixes.
  41. - Fix subsetting of simple GSUB/GDEF.
  42. - Merge CFF / CFF2 support contributed by Adobe. This mostly involves
  43. the subsetter, but also get_glyph_extents on CFF fonts.
  44. New API in hb-aat.h:
  45. +hb_aat_layout_has_substitution()
  46. +hb_aat_layout_has_positioning()
  47. +hb_aat_layout_has_tracking()
  48. Overview of changes leading to 2.2.0
  49. Thursday, November 29, 2018
  50. ====================================
  51. - Misc shaping bug fixes.
  52. - Add font variations named-instance API.
  53. - Deprecate font variations axis enumeration API and add replacement.
  54. - AAT shaping improvements:
  55. o Fixed 'kern' table Format 2 implementation.
  56. o Implement 'feat' table API for feature detection.
  57. o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
  58. New API:
  59. +hb_aat_layout_feature_type_t
  60. +hb_aat_layout_feature_selector_t
  61. +hb_aat_layout_get_feature_types()
  62. +hb_aat_layout_feature_type_get_name_id
  63. +hb_aat_layout_feature_selector_info_t
  64. +HB_AAT_LAYOUT_NO_SELECTOR_INDEX
  65. +hb_aat_layout_feature_type_get_selector_infos()
  66. +hb_ot_var_axis_flags_t
  67. +hb_ot_var_axis_info_t
  68. +hb_ot_var_get_axis_infos()
  69. +hb_ot_var_find_axis_info()
  70. +hb_ot_var_get_named_instance_count()
  71. +hb_ot_var_named_instance_get_subfamily_name_id()
  72. +hb_ot_var_named_instance_get_postscript_name_id()
  73. +hb_ot_var_named_instance_get_design_coords()
  74. Deprecated API:
  75. +HB_OT_VAR_NO_AXIS_INDEX
  76. +hb_ot_var_axis_t
  77. +hb_ot_var_get_axes()
  78. +hb_ot_var_find_axis()
  79. Overview of changes leading to 2.1.3
  80. Friday, November 16, 2018
  81. ====================================
  82. - Fix AAT 'mort' shaping, which was broken in 2.1.2
  83. Overview of changes leading to 2.1.2
  84. Friday, November 16, 2018
  85. ====================================
  86. - Various internal changes.
  87. - AAT shaping improvements:
  88. o Implement kern table Format 1 state-machine-based kerning.
  89. o Implement cross-stream kerning (cursive positioning, etc).
  90. o Ignore emptyish GSUB tables (zero scripts) if morx present.
  91. o Don't apply GPOS if morx is being applied. Matches Apple.
  92. -Overview of changes leading to 2.1.1
  93. Monday, November 5, 2018
  94. ====================================
  95. - AAT improvements:
  96. o Implement 'mort' table.
  97. o Implement 'kern' subtables Format 1 and Format 3.
  98. Overview of changes leading to 2.1.0
  99. Tuesday, October 30, 2018
  100. ====================================
  101. - AAT shaping improvements:
  102. o Allow user controlling AAT features, for whole buffer only currently.
  103. o Several 'morx' fixes.
  104. o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
  105. San Francisco fonts.
  106. - Support for color fonts:
  107. o COLR/CPAL API to fetch color layers.
  108. o SVG table to fetch SVG documents.
  109. o CBDT/sbix API to fetch PNG images.
  110. - New 'name' table API.
  111. - hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
  112. in vertical layout.
  113. - Various fuzzer-found bug fixes.
  114. Changed API:
  115. A type and a macro added in 2.0.0 were renamed:
  116. hb_name_id_t -> hb_ot_name_id_t
  117. HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
  118. New API:
  119. +hb_color_t
  120. +HB_COLOR
  121. +hb_color_get_alpha()
  122. +hb_color_get_red()
  123. +hb_color_get_green()
  124. +hb_color_get_blue()
  125. +hb_ot_color_has_palettes()
  126. +hb_ot_color_palette_get_count()
  127. +hb_ot_color_palette_get_name_id()
  128. +hb_ot_color_palette_color_get_name_id()
  129. +hb_ot_color_palette_flags_t
  130. +hb_ot_color_palette_get_flags()
  131. +hb_ot_color_palette_get_colors()
  132. +hb_ot_color_has_layers()
  133. +hb_ot_color_layer_t
  134. +hb_ot_color_glyph_get_layers()
  135. +hb_ot_color_has_svg()
  136. +hb_ot_color_glyph_reference_svg()
  137. +hb_ot_color_has_png()
  138. +hb_ot_color_glyph_reference_png()
  139. +hb_ot_name_id_t
  140. +HB_OT_NAME_ID_INVALID
  141. +HB_OT_NAME_ID_COPYRIGHT
  142. +HB_OT_NAME_ID_FONT_FAMILY
  143. +HB_OT_NAME_ID_FONT_SUBFAMILY
  144. +HB_OT_NAME_ID_UNIQUE_ID
  145. +HB_OT_NAME_ID_FULL_NAME
  146. +HB_OT_NAME_ID_VERSION_STRING
  147. +HB_OT_NAME_ID_POSTSCRIPT_NAME
  148. +HB_OT_NAME_ID_TRADEMARK
  149. +HB_OT_NAME_ID_MANUFACTURER
  150. +HB_OT_NAME_ID_DESIGNER
  151. +HB_OT_NAME_ID_DESCRIPTION
  152. +HB_OT_NAME_ID_VENDOR_URL
  153. +HB_OT_NAME_ID_DESIGNER_URL
  154. +HB_OT_NAME_ID_LICENSE
  155. +HB_OT_NAME_ID_LICENSE_URL
  156. +HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
  157. +HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
  158. +HB_OT_NAME_ID_MAC_FULL_NAME
  159. +HB_OT_NAME_ID_SAMPLE_TEXT
  160. +HB_OT_NAME_ID_CID_FINDFONT_NAME
  161. +HB_OT_NAME_ID_WWS_FAMILY
  162. +HB_OT_NAME_ID_WWS_SUBFAMILY
  163. +HB_OT_NAME_ID_LIGHT_BACKGROUND
  164. +HB_OT_NAME_ID_DARK_BACKGROUND
  165. +HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
  166. +hb_ot_name_entry_t
  167. +hb_ot_name_list_names()
  168. +hb_ot_name_get_utf8()
  169. +hb_ot_name_get_utf16()
  170. +hb_ot_name_get_utf32()
  171. Overview of changes leading to 2.0.2
  172. Saturday, October 20, 2018
  173. ====================================
  174. - Fix two minor memory access issues in AAT tables.
  175. Overview of changes leading to 2.0.1
  176. Friday, October 19, 2018
  177. ====================================
  178. - Fix hb-version.h reported release version that went wrong (1.8.0)
  179. with previous release.
  180. - Fix extrapolation in 'trak' table.
  181. - Fix hb-font infinite-recursion issue with some font funcs and
  182. subclassed fonts.
  183. - Implement variation-kerning format in kerx table, although without
  184. variation.
  185. - Fix return value of hb_map_is_empty().
  186. Overview of changes leading to 2.0.0
  187. Thursday, October 18, 2018
  188. ====================================
  189. - Added AAT shaping support (morx/kerx/trak).
  190. Automatically used if GSUB/GPOS are not available respectively.
  191. Set HB_OPTIONS=aat env var to have morx/kerx preferred over
  192. GSUB/GPOS.
  193. - Apply TrueType kern table internally, instead of relying on
  194. hb_font_t callbacks.
  195. - Khmer shaper significantly rewritten to better match Uniscribe.
  196. - Indic3 tags ('dev3', etc) are passed to USE shaper.
  197. - .dfont Mac font containers implemented.
  198. - Script- and language-mapping revamped to better use BCP 47.
  199. - Misc USE and Indic fixes.
  200. - Misc everything fixes.
  201. - Too many things to list. Biggest release since 0.9.1, with
  202. over 500 commits in just over 5 weeks! Didn't intend it to
  203. be a big release. Just happened to become.
  204. - hb-ft now locks underlying FT_Face during use.
  205. API changes:
  206. - Newly-created hb_font_t's now have our internal "hb-ot-font"
  207. callbacks set on them, so they should work out of the box
  208. without any callbacks set. If callbacks are set, everything
  209. is back to what it was before, the fallback callbacks are
  210. null. If you to get the internal implementation modified,
  211. sub_font it.
  212. - New hb_font_funcs_set_nominal_glyphs_func() allows speeding
  213. up character to glyph mapping.
  214. New API:
  215. +HB_FEATURE_GLOBAL_START
  216. +HB_FEATURE_GLOBAL_END
  217. +hb_buffer_set_invisible_glyph()
  218. +hb_buffer_get_invisible_glyph()
  219. +hb_font_funcs_set_nominal_glyphs_func()
  220. +hb_ot_layout_table_select_script()
  221. +hb_ot_layout_script_select_language()
  222. +hb_ot_layout_feature_get_name_ids()
  223. +hb_ot_layout_feature_get_characters()
  224. +hb_name_id_t
  225. +HB_NAME_ID_INVALID
  226. +HB_OT_MAX_TAGS_PER_SCRIPT
  227. +hb_ot_tags_from_script_and_language()
  228. +hb_ot_tags_to_script_and_language()
  229. Deprecated API:
  230. -hb_font_funcs_set_glyph_func()
  231. -hb_unicode_eastasian_width_func_t
  232. -hb_unicode_funcs_set_eastasian_width_func()
  233. -hb_unicode_eastasian_width()
  234. -hb_unicode_decompose_compatibility_func_t
  235. -HB_UNICODE_MAX_DECOMPOSITION_LEN
  236. -hb_unicode_funcs_set_decompose_compatibility_func()
  237. -hb_unicode_decompose_compatibility()
  238. -hb_font_funcs_set_glyph_h_kerning_func()
  239. -hb_font_funcs_set_glyph_v_kerning_func()
  240. -hb_font_get_glyph_h_kerning()
  241. -hb_font_get_glyph_v_kerning()
  242. -hb_font_get_glyph_kerning_for_direction()
  243. -hb_ot_layout_table_choose_script()
  244. -hb_ot_layout_script_find_language()
  245. -hb_ot_tags_from_script()
  246. -hb_ot_tag_from_language()
  247. Overview of changes leading to 1.9.0
  248. Monday, September 10, 2018
  249. ====================================
  250. - Added 'cmap' API to hb_face_t.
  251. - Face-builder API.
  252. - hb-ot-font re-creation should be much leaner now, as the
  253. font tables it uses are cached on hb_face_t now.
  254. - Internal source header file name changes:
  255. hb-*-private.hh is renamed to hb-*.hh.
  256. New API:
  257. +HB_UNICODE_MAX
  258. +hb_face_collect_unicodes()
  259. +hb_face_collect_variation_selectors()
  260. +hb_face_collect_variation_unicodes()
  261. +hb_face_builder_create()
  262. +hb_face_builder_add_table()
  263. Overview of changes leading to 1.8.8
  264. Tuesday, August 14, 2018
  265. ====================================
  266. - Fix hb-icu crash on architectures where compare_exchange_weak() can
  267. fail falsely. This bug was introduced in 1.8.4.
  268. https://bugs.chromium.org/p/chromium/issues/detail?id=873568
  269. - More internal refactoring of atomic operations and singletons.
  270. - API changes:
  271. The following functions do NOT reference their return value before
  272. returning:
  273. * hb_unicode_funcs_get_default()
  274. * hb_glib_get_unicode_funcs()
  275. * hb_icu_get_unicode_funcs()
  276. This is consistent with their naming ("get", instead of "reference")
  277. as well as how they are used in the wild (ie. no one calls destroy()
  278. on their return value.)
  279. Overview of changes leading to 1.8.7
  280. Wednesday, August 8, 2018
  281. ====================================
  282. - Fix assertion failure with GDEF-blacklisted fonts.
  283. Overview of changes leading to 1.8.6
  284. Tuesday, August 7, 2018
  285. ====================================
  286. - Internal code shuffling.
  287. - New API to speed up getting advance widths for implementations
  288. that have heavy overhead in get_h_advance callback:
  289. +hb_font_funcs_set_glyph_h_advances_func
  290. +hb_font_funcs_set_glyph_v_advances_func
  291. +hb_font_get_glyph_advances_for_direction
  292. +hb_font_get_glyph_h_advances
  293. +hb_font_get_glyph_h_advances_func_t
  294. +hb_font_get_glyph_v_advances
  295. +hb_font_get_glyph_v_advances_func_t
  296. Overview of changes leading to 1.8.5
  297. Wednesday, August 1, 2018
  298. ====================================
  299. - Major Khmer shaper improvements to better match Microsoft.
  300. - Indic bug fixes.
  301. - Internal improvements to atomic operations.
  302. Overview of changes leading to 1.8.4
  303. Tuesday, July 17, 2018
  304. ====================================
  305. - Fix build on non-C++11.
  306. - Use C++-style GCC atomics and C++11 atomics.
  307. Overview of changes leading to 1.8.3
  308. Wednesday, July 11, 2018
  309. ====================================
  310. - A couple of Indic / USE bug fixes.
  311. - Disable vectorization, as it was causing unaligned access bus error on
  312. certain 32bit architectures.
  313. Overview of changes leading to 1.8.2
  314. Tuesday, July 3, 2018
  315. ====================================
  316. - Fix infinite loop in Khmer shaper.
  317. - Improve hb_blob_create_from_file() for streams.
  318. Overview of changes leading to 1.8.1
  319. Tuesday, June 12, 2018
  320. ====================================
  321. - Fix hb-version.h file generation; last two releases went out with wrong ones.
  322. - Add correctness bug in hb_set_t operations, introduced in 1.7.7.
  323. - Remove HB_SUBSET_BUILTIN build option. Not necessary.
  324. Overview of changes leading to 1.8.0
  325. Tuesday, June 5, 2018
  326. ====================================
  327. - Update to Unicode 11.0.0.
  328. Overview of changes leading to 1.7.7
  329. Tuesday, June 5, 2018
  330. ====================================
  331. - Lots of internal changes, but not yet exposed externally.
  332. - All HarfBuzz objects are significantly smaller in size now.
  333. - Sinhala: Position repha on top of post-consonant, not base.
  334. This better matches Windows 10 behavior, which was changed
  335. from previous Windows versions.
  336. - New build options:
  337. o New cpp macro HB_NO_ATEXIT
  338. o New cpp macro HB_SUBSET_BUILTIN
  339. - Significant libharfbuzz-subset changes. API subject to change.
  340. - New API in libharfbuzz:
  341. +hb_blob_create_from_file()
  342. +hb_face_count()
  343. A hashmap implementation:
  344. +hb-map.h
  345. +HB_MAP_VALUE_INVALID
  346. +hb_map_t
  347. +hb_map_create()
  348. +hb_map_get_empty()
  349. +hb_map_reference()
  350. +hb_map_destroy()
  351. +hb_map_set_user_data()
  352. +hb_map_get_user_data()
  353. +hb_map_allocation_successful()
  354. +hb_map_clear()
  355. +hb_map_is_empty()
  356. +hb_map_get_population()
  357. +hb_map_set()
  358. +hb_map_get()
  359. +hb_map_del()
  360. +hb_map_has()
  361. Overview of changes leading to 1.7.6
  362. Wednesday, March 7, 2018
  363. ====================================
  364. - Fix to hb_set_t binary operations. Ouch.
  365. - New experimental harfbuzz-subset library. All of hb-subset.h
  366. is experimental right now and API WILL change.
  367. - New API:
  368. hb_blob_copy_writable_or_fail()
  369. HB_OT_TAG_BASE
  370. hb_set_previous()
  371. hb_set_previous_range()
  372. Overview of changes leading to 1.7.5
  373. Tuesday, January 30, 2018
  374. ====================================
  375. - Separate Khmer shaper from Indic.
  376. - First stab at AAT morx. Not hooked up.
  377. - Misc bug fixes.
  378. Overview of changes leading to 1.7.4
  379. Wednesday, December 20, 2017
  380. ====================================
  381. - Fix collect_glyphs() regression caused by hb_set_t changes.
  382. Overview of changes leading to 1.7.3
  383. Monday, December 18, 2017
  384. ====================================
  385. - hb_set_t performance tuning and optimizations.
  386. - Speed up collect_glyphs() and reject garbage data.
  387. - In hb_coretext_font_create() set font point-size (ptem).
  388. - Misc fixes.
  389. Overview of changes leading to 1.7.2
  390. Monday, December 4, 2017
  391. ====================================
  392. - Optimize hb_set_add_range().
  393. - Misc fixes.
  394. - New API:
  395. hb_coretext_font_create()
  396. Overview of changes leading to 1.7.1
  397. Tuesday, November 14, 2017
  398. ====================================
  399. - Fix atexit object destruction regression.
  400. - Fix minor integer-overflow.
  401. Overview of changes leading to 1.7.0
  402. Monday, November 13, 2017
  403. ====================================
  404. - Minor Indic fixes.
  405. - Implement kerning and glyph names in hb-ot-font.
  406. - Various DSO optimization re .data and .bss sizes.
  407. - Make C++11 optional; build fixes.
  408. - Mark all other backends "unsafe-to-break".
  409. - Graphite fix.
  410. Overview of changes leading to 1.6.3
  411. Thursday, October 26th, 2017
  412. ====================================
  413. - Fix hb_set_t some more. Should be solid now.
  414. - Implement get_glyph_name() for hb-ot-font.
  415. - Misc fixes.
  416. Overview of changes leading to 1.6.2
  417. Monday, October 23nd, 2017
  418. ====================================
  419. - Yesterday's release had a bad crasher; don't use it. That's what
  420. happens when one works on Sunday...
  421. https://github.com/harfbuzz/harfbuzz/issues/578
  422. - Build fixes for FreeBSD and Chrome Android.
  423. Overview of changes leading to 1.6.1
  424. Sunday, October 22nd, 2017
  425. ====================================
  426. - Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
  427. To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
  428. - Faster hb_set_t implementation.
  429. - Don't use deprecated ICU API.
  430. - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
  431. - Deprecated API:
  432. hb_set_invert()
  433. Overview of changes leading to 1.6.0
  434. Friday, October the 13th, 2017
  435. ====================================
  436. - Update to Unicode 10.
  437. - Various Indic and Universal Shaping Engine fixes as a result of
  438. HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
  439. the Igalia offices in A Coruña, Spain. Thanks Igalia for having
  440. us!
  441. - Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
  442. - Implement optical sizing / tracking in CoreText backend, using
  443. new API hb_font_set_ptem().
  444. - Allow notifying hb_font_t that underlying FT_Face changed sizing,
  445. using new API hb_ft_font_changed().
  446. - More Graphite backend RTL fixes.
  447. - Fix caching of variable font shaping plans.
  448. - hb-view / hb-shape now accept following new arguments:
  449. o --unicodes: takes a list of hex numbers that represent Unicode
  450. codepoints.
  451. New API:
  452. +hb_face_get_table_tags()
  453. +hb_font_set_ptem()
  454. +hb_font_get_ptem()
  455. +hb_ft_font_changed()
  456. Overview of changes leading to 1.5.1
  457. Tuesday, September 5, 2017
  458. ====================================
  459. - Fix "unsafe-to-break" in fallback shaping and other corner cases.
  460. All our tests pass with --verify now, meaning unsafe-to-break API
  461. works as expected.
  462. - Add --unicodes to hb-view / hb-shape.
  463. - [indic] Treat Consonant_With_Stacker as consonant. This will need
  464. further tweaking.
  465. - hb_buffer_diff() tweaks.
  466. Overview of changes leading to 1.5.0
  467. Wednesday, August 23, 2017
  468. ====================================
  469. - Misc new API, for appending a buffer to another, and for comparing
  470. contents of two buffers for types of differences.
  471. - New "unsafe-to-break" API. Can be used to speed up reshaping
  472. in line-breaking situations. Essentially, after shaping, it returns
  473. positions in the input string (some of the cluster boundaries) that
  474. are "safe to break" in that if the text is segmented at that position
  475. and two sides reshaped and concatenated, the shaping result is
  476. exactly the same as shaping the text in one piece.
  477. hb-view and hb-shape and hb-shape now take --verify, which verifies
  478. the above property.
  479. Some corner cases of the implementation are still not quite working.
  480. Those will be fixed in subsequent releases.
  481. - New API:
  482. hb_buffer_append()
  483. hb_glyph_flags_t
  484. HB_GLYPH_FLAG_UNSAFE_TO_BREAK
  485. HB_GLYPH_FLAG_DEFINED
  486. hb_glyph_info_get_glyph_flags()
  487. HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
  488. hb_buffer_diff_flags_t
  489. HB_BUFFER_DIFF_FLAG_EQUAL
  490. HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
  491. HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
  492. HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
  493. HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
  494. HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
  495. HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
  496. HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
  497. HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
  498. hb_buffer_diff
  499. Overview of changes leading to 1.4.8
  500. Tuesday, August 8, 2017
  501. ====================================
  502. - Major fix to avar table handling.
  503. - Rename hb-shape --show-message to --trace.
  504. - Build fixes.
  505. Overview of changes leading to 1.4.7
  506. Tuesday, July 18, 2017
  507. ====================================
  508. - Multiple Indic, Tibetan, and Cham fixes.
  509. - CoreText: Allow disabling kerning.
  510. - Adjust Arabic feature order again.
  511. - Misc build fixes.
  512. Overview of changes leading to 1.4.6
  513. Sunday, April 23, 2017
  514. ====================================
  515. - Graphite2: Fix RTL positioning issue.
  516. - Backlist GDEF of more versions of Padauk and Tahoma.
  517. - New, experimental, cmake alternative build system.
  518. Overview of changes leading to 1.4.5
  519. Friday, March 10, 2017
  520. ====================================
  521. - Revert "Fix Context lookup application when moving back after a glyph..."
  522. This introduced memory access problems. To be fixed properly soon.
  523. Overview of changes leading to 1.4.4
  524. Sunday, March 5, 2017
  525. ====================================
  526. - Fix Context lookup application when moving back after a glyph deletion.
  527. - Fix buffer-overrun in Bengali.
  528. Overview of changes leading to 1.4.3
  529. Saturday, February 25, 2017
  530. ====================================
  531. - Route Adlam script to Arabic shaper.
  532. - Misc fixes.
  533. - New API:
  534. hb_font_set_face()
  535. - Deprecate API:
  536. hb_graphite2_font_get_gr_font()
  537. Overview of changes leading to 1.4.2
  538. Monday, January 23, 2017
  539. ====================================
  540. - Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
  541. - hb-shape and hb-view now accept --variations.
  542. - New API:
  543. hb_variation_t
  544. hb_variation_from_string()
  545. hb_variation_to_string()
  546. hb_font_set_variations()
  547. hb_font_set_var_coords_design()
  548. hb_font_get_var_coords_normalized()
  549. hb-ot-var.h:
  550. hb_ot_var_axis_t
  551. hb_ot_var_has_data()
  552. hb_ot_var_get_axis_count()
  553. hb_ot_var_get_axes()
  554. hb_ot_var_find_axis()
  555. hb_ot_var_normalize_variations()
  556. hb_ot_var_normalize_coords()
  557. - MVAR to be implemented later. Access to named instances to be
  558. implemented later as well.
  559. - Misc fixes.
  560. Overview of changes leading to 1.4.1
  561. Thursday, January 5, 2017
  562. ====================================
  563. - Always build and use UCDN for Unicode data by default.
  564. Reduces dependence on version of Unicode data in glib,
  565. specially in the Windows bundles we are shipping, which
  566. have very old glib.
  567. Overview of changes leading to 1.4.0
  568. Thursday, January 5, 2017
  569. ====================================
  570. - Merged "OpenType GX" branch which adds core of support for
  571. OpenType 1.8 Font Variations. To that extent, the relevant
  572. new API is:
  573. New API:
  574. hb_font_set_var_coords_normalized()
  575. with supporting API:
  576. New API:
  577. HB_OT_LAYOUT_NO_VARIATIONS_INDEX
  578. hb_ot_layout_table_find_feature_variations()
  579. hb_ot_layout_feature_with_variations_get_lookups()
  580. hb_shape_plan_create2()
  581. hb_shape_plan_create_cached2()
  582. Currently variations in GSUB/GPOS/GDEF are fully supported,
  583. and no other tables are supported. In particular, fvar/avar
  584. are NOT supported, hence the hb_font_set_var_coords_normalized()
  585. taking normalized coordinates. API to take design coordinates
  586. will be added in the future.
  587. HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
  588. future.
  589. - Fix regression in GDEF glyph class processing.
  590. - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
  591. - Misc fixes.
  592. Overview of changes leading to 1.3.4
  593. Monday, December 5, 2016
  594. ====================================
  595. - Fix vertical glyph origin in hb-ot-font.
  596. - Implement CBDT/CBLC color font glyph extents in hb-ot-font.
  597. Overview of changes leading to 1.3.3
  598. Wednesday, September 28, 2016
  599. ====================================
  600. - Implement parsing of OpenType MATH table.
  601. New API:
  602. HB_OT_TAG_MATH
  603. HB_OT_MATH_SCRIPT
  604. hb_ot_math_constant_t
  605. hb_ot_math_kern_t
  606. hb_ot_math_glyph_variant_t
  607. hb_ot_math_glyph_part_flags_t
  608. hb_ot_math_glyph_part_t
  609. hb_ot_math_has_data
  610. hb_ot_math_get_constant
  611. hb_ot_math_get_glyph_italics_correction
  612. hb_ot_math_get_glyph_top_accent_attachment
  613. hb_ot_math_get_glyph_kerning
  614. hb_ot_math_is_glyph_extended_shape
  615. hb_ot_math_get_glyph_variants
  616. hb_ot_math_get_min_connector_overlap
  617. hb_ot_math_get_glyph_assembly
  618. Overview of changes leading to 1.3.2
  619. Wednesday, September 27, 2016
  620. ====================================
  621. - Fix build of hb-coretext on older OS X versions.
  622. Overview of changes leading to 1.3.1
  623. Wednesday, September 7, 2016
  624. ====================================
  625. - Blacklist bad GDEF of more fonts (Padauk).
  626. - More CoreText backend crash fixes with OS X 10.9.5.
  627. - Misc fixes.
  628. Overview of changes leading to 1.3.0
  629. Thursday, July 21, 2016
  630. ====================================
  631. - Update to Unicode 9.0.0
  632. - Move Javanese from Indic shaper to Universal Shaping Engine.
  633. - Allow MultipleSubst to delete a glyph (matching Windows engine).
  634. - Update Universal Shaping Engine to latest draft from Microsoft.
  635. - DirectWrite backend improvements. Note: this backend is for testing ONLY.
  636. - CoreText backend improvements with unreachable fonts.
  637. - Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
  638. - Blacklist bad GDEF of more fonts (Tahoma & others).
  639. - Misc fixes.
  640. Overview of changes leading to 1.2.7
  641. Monday, May 2, 2016
  642. ====================================
  643. - Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
  644. - Fix Mongolian Free Variation Selectors shaping with certain fonts.
  645. - Fix Tibetan shorthand contractions shaping.
  646. - Improved list of language tag mappings.
  647. - Unbreak build on Windows CE.
  648. - Make 'glyf' table loading lazy in hb-ot-font.
  649. Overview of changes leading to 1.2.6
  650. Friday, April 8, 2016
  651. ====================================
  652. - Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
  653. - DirectWrite backend improvements. Note: DirectWrite backend is
  654. exclusively for our internal testing and should NOT be used in any
  655. production system whatsoever.
  656. Overview of changes leading to 1.2.5
  657. Monday, April 4, 2016
  658. ====================================
  659. - Fix GDEF mark-filtering-set, which was broken in 1.2.3.
  660. Overview of changes leading to 1.2.4
  661. Thursday, March 17, 2016
  662. ====================================
  663. - Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
  664. I really hope we don't discover broken fonts that shape badly with this
  665. change.
  666. - Misc build and other minor fixes.
  667. - API changes:
  668. - Added HB_NDEBUG. It's fine for production systems to define this to
  669. disable high-overhead debugging checks. However, I also reduced the
  670. overhead of those checks, so it's a non-issue right now. You can
  671. forget it. Just not defining anything at all is fine.
  672. Overview of changes leading to 1.2.3
  673. Thursday, February 25, 2016
  674. ====================================
  675. - Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
  676. due to bug in glyph class of ASCII double-quote character. This should
  677. address "regression" introduced in 1.2.0 when we switched mark zeroing
  678. in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
  679. This fourth release in a week should finally stablize things...
  680. - hb-ot-font's get_glyph() implementation saw some optimizations. Though,
  681. might be really hard to measure in real-world situations.
  682. - Also, two rather small API changes:
  683. We now disable some time-consuming internal bookkeeping if built with NDEBUG
  684. defined. This is a first time that we use NDEBUG to disable debug code. If
  685. there exist production systems that do NOT want to enable NDEBUG, please let
  686. me know and I'll add HB_NDEBUG.
  687. Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
  688. New API:
  689. - hb_font_get_nominal_glyph_func_t
  690. - hb_font_get_variation_glyph_func_t
  691. - hb_font_funcs_set_nominal_glyph_func()
  692. - hb_font_funcs_set_variation_glyph_func()
  693. - hb_font_get_nominal_glyph()
  694. - hb_font_get_variation_glyph()
  695. Deprecated API:
  696. - hb_font_get_glyph_func_t
  697. - hb_font_funcs_set_glyph_func()
  698. Clients that implement their own font-funcs are encouraged to replace
  699. their get_glyph() implementation with a get_nominal_glyph() and
  700. get_variation_glyph() pair. The variation version can assume that
  701. variation_selector argument is not zero. Old (deprecated) functions
  702. will continue working indefinitely using internal gymnastics; it is
  703. just more efficient to use the new functions.
  704. Overview of changes leading to 1.2.2
  705. Wednesday, February 24, 2016
  706. ====================================
  707. - Fix regression with mark positioning with fonts that have
  708. non-zero mark advances. This was introduced in 1.2.0 while
  709. trying to make mark and cursive attachments to work together.
  710. I have partially reverted that, so this version is much more
  711. like what we had before. All clients who updated to 1.2.0
  712. should update to this version.
  713. Overview of changes leading to 1.2.1
  714. Tuesday, February 23, 2016
  715. ====================================
  716. - CoreText: Fix bug with wrong scale if font scale was changed later.
  717. https://github.com/libass/libass/issues/212
  718. - CoreText: Drastically speed up font initialization.
  719. - CoreText: Fix tiny leak.
  720. - Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
  721. https://github.com/harfbuzz/harfbuzz/issues/217
  722. - Add test/shaping/README.md about how to add tests to the suite.
  723. Overview of changes leading to 1.2.0
  724. Friday, February 19, 2016
  725. ====================================
  726. - Fix various issues (hangs mostly) in case of memory allocation failure.
  727. - Change mark zeroing types of most shapers from BY_UNICODE_LATE to
  728. BY_GDEF_LATE. This seems to be what Uniscribe does.
  729. - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
  730. what Windows does.
  731. - Allow GPOS cursive connection on marks, and fix the interaction with
  732. mark attachment. This work resulted in some changes to how mark
  733. attachments work. See:
  734. https://github.com/harfbuzz/harfbuzz/issues/211
  735. https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
  736. - Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
  737. - Add nmake-based build system for Windows.
  738. - Minor speedup.
  739. - Misc. improvements.
  740. Overview of changes leading to 1.1.3
  741. Monday, January 11, 2016
  742. ====================================
  743. - Ported Indic shaper to Unicode 8.0 data.
  744. - Universal Shaping Engine fixes.
  745. - Speed up CoreText shaper when font fallback happens in CoreText.
  746. - Documentation improvements, thanks to Khaled Hosny.
  747. - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
  748. - Misc bug fixes.
  749. - New API:
  750. * Font extents:
  751. hb_font_extents_t
  752. hb_font_get_font_extents_func_t
  753. hb_font_get_font_h_extents_func_t
  754. hb_font_get_font_v_extents_func_t
  755. hb_font_funcs_set_font_h_extents_func
  756. hb_font_funcs_set_font_v_extents_func
  757. hb_font_get_h_extents
  758. hb_font_get_v_extents
  759. hb_font_get_extents_for_direction
  760. * Buffer message (aka debug):
  761. hb_buffer_message_func_t
  762. hb_buffer_set_message_func()
  763. Actual message protocol to be fleshed out later.
  764. Overview of changes leading to 1.1.2
  765. Wednesday, November 26, 2015
  766. ====================================
  767. - Fix badly-broken fallback shaper that affected terminology.
  768. https://github.com/harfbuzz/harfbuzz/issues/187
  769. - Fix y_scaling in Graphite shaper.
  770. - API changes:
  771. * An unset glyph_h_origin() function in font-funcs now (sensibly)
  772. implies horizontal origin at 0,0. Ie, the nil callback returns
  773. true instead of false. As such, implementations that have a
  774. glyph_h_origin() that simply returns true, can remove that function
  775. with HarfBuzz >= 1.1.2. This results in a tiny speedup.
  776. Overview of changes leading to 1.1.1
  777. Wednesday, November 24, 2015
  778. ====================================
  779. - Build fixes, specially for hb-coretext.
  780. Overview of changes leading to 1.1.0
  781. Wednesday, November 18, 2015
  782. ====================================
  783. - Implement 'stch' stretch feature for Syriac Abbreviation Mark.
  784. https://github.com/harfbuzz/harfbuzz/issues/141
  785. - Disable use of decompose_compatibility() callback.
  786. - Implement "shaping" of various Unicode space characters, even
  787. if the font does not support them.
  788. https://github.com/harfbuzz/harfbuzz/issues/153
  789. - If font does not support U+2011 NO-BREAK HYPHEN, fallback to
  790. U+2010 HYPHEN.
  791. - Changes resulting from libFuzzer continuous fuzzing:
  792. * Reject font tables that need more than 8 edits,
  793. * Bound buffer growth during shaping to 32x,
  794. * Fix assertions and other issues at OOM / buffer max-growth.
  795. - Misc fixes and optimizations.
  796. - API changes:
  797. * All fonts created with hb_font_create() now inherit from
  798. (ie. have parent) hb_font_get_empty().
  799. Overview of changes leading to 1.0.6
  800. Thursday, October 15, 2015
  801. ====================================
  802. - Reduce max nesting level in OT lookups from 8 to 6.
  803. Should not affect any real font as far as I know.
  804. - Fix memory access issue in ot-font.
  805. - Revert default load-flags of fonts created using hb_ft_font_create()
  806. back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
  807. last release (1.0.5), but caused major issues, so revert.
  808. https://github.com/harfbuzz/harfbuzz/issues/143
  809. Overview of changes leading to 1.0.5
  810. Tuesday, October 13, 2015
  811. ====================================
  812. - Fix multiple memory access bugs discovered using libFuzzer.
  813. https://github.com/harfbuzz/harfbuzz/issues/139
  814. Everyone should upgrade to this version as soon as possible.
  815. We now have continuous fuzzing set up, to avoid issues like
  816. these creeping in again.
  817. - Misc fixes.
  818. - New API:
  819. * hb_font_set_parent().
  820. * hb_ft_font_[sg]et_load_flags()
  821. The default flags for fonts created using hb_ft_font_create()
  822. has changed to default to FT_LOAD_DEFAULT now. Previously it
  823. was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
  824. - API changes:
  825. * Fonts now default to units-per-EM as their scale, instead of 0.
  826. * hb_font_create_sub_font() does NOT make parent font immutable
  827. anymore. hb_font_make_immutable() does.
  828. Overview of changes leading to 1.0.4
  829. Wednesday, September 30, 2015
  830. ====================================
  831. - Fix minor out-of-bounds read error.
  832. Overview of changes leading to 1.0.3
  833. Tuesday, September 1, 2015
  834. ====================================
  835. - Start of user documentation, from Simon Cozens!
  836. - Implement glyph_extents() for TrueType fonts in hb-ot-font.
  837. - Improve GPOS cursive attachments with conflicting lookups.
  838. - More fixes for cluster-level = 1.
  839. - Uniscribe positioning fix.
  840. Overview of changes leading to 1.0.2
  841. Wednesday, August 19, 2015
  842. ====================================
  843. - Fix shaping with cluster-level > 0.
  844. - Fix Uniscribe backend font-size scaling.
  845. - Declare dependencies in harfbuzz.pc.
  846. FreeType is not declared though, to avoid bugs in pkg-config
  847. 0.26 with recursive dependencies.
  848. - Slightly improved debug infrastructure. More to come later.
  849. - Misc build fixes.
  850. Overview of changes leading to 1.0.1
  851. Monday, July 27, 2015
  852. ====================================
  853. - Fix out-of-bounds access in USE shaper.
  854. Overview of changes leading to 1.0.0
  855. Sunday, July 26, 2015
  856. ====================================
  857. - Implement Universal Shaping Engine:
  858. https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
  859. http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
  860. - Bump version to 1.0.0. The soname was NOT bumped.
  861. Overview of changes leading to 0.9.42
  862. Thursday, July 26, 2015
  863. =====================================
  864. - New API to allow for retrieving finer-grained cluster
  865. mappings if the client desires to handle them. Default
  866. behavior is unchanged.
  867. - Fix cluster merging when removing default-ignorables.
  868. - Update to Unicode 8.0
  869. - hb-graphite2 fixes.
  870. - Misc fixes.
  871. - Removed HB_NO_MERGE_CLUSTERS hack.
  872. - New API:
  873. hb_buffer_cluster_level_t enum
  874. hb_buffer_get_cluster_level()
  875. hb_buffer_set_cluster_level()
  876. hb-shape / hb-view --cluster-level
  877. Overview of changes leading to 0.9.41
  878. Thursday, June 18, 2015
  879. =====================================
  880. - Fix hb-coretext with trailing whitespace in right-to-left.
  881. - New API: hb_buffer_reverse_range().
  882. - Allow implementing atomic ops in config.h.
  883. - Fix hb_language_t in language bindings.
  884. - Misc fixes.
  885. Overview of changes leading to 0.9.40
  886. Friday, March 20, 2015
  887. =====================================
  888. - Another hb-coretext crasher fix. Ouch!
  889. - Happy Norouz!
  890. Overview of changes leading to 0.9.39
  891. Wednesday, March 4, 2015
  892. =====================================
  893. - Critical hb-coretext fixes.
  894. - Optimizations and refactoring; no functional change
  895. expected.
  896. - Misc build fixes.
  897. Overview of changes leading to 0.9.38
  898. Friday, January 23, 2015
  899. =====================================
  900. - Fix minor out-of-bounds access in Indic shaper.
  901. - Change New Tai Lue shaping engine from South-East Asian to default,
  902. reflecting change in Unicode encoding model.
  903. - Add hb-shape --font-size. Can take up to two numbers for separate
  904. x / y size.
  905. - Fix CoreText and FreeType scale issues with negative scales.
  906. - Reject blobs larger than 2GB. This might break some icu-le-hb clients
  907. that need security fixes. See:
  908. http://www.icu-project.org/trac/ticket/11450
  909. - Avoid accessing font tables during face destruction, in casce rogue
  910. clients released face data already.
  911. - Fix up gobject-introspection a bit. Python bindings kinda working.
  912. See README.python.
  913. - Misc fixes.
  914. - API additions:
  915. hb_ft_face_create_referenced()
  916. hb_ft_font_create_referenced()
  917. Overview of changes leading to 0.9.37
  918. Wednesday, December 17, 2014
  919. =====================================
  920. - Fix out-of-bounds access in Context lookup format 3.
  921. - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
  922. Overview of changes leading to 0.9.36
  923. Thursday, November 20, 2014
  924. =====================================
  925. - First time that three months went by without a release since
  926. 0.9.2 was released on August 10, 2012!
  927. - Fix performance bug in hb_ot_collect_glyphs():
  928. https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
  929. - Add basic vertical-text support to hb-ot-font.
  930. - Misc build fixes.
  931. Overview of changes leading to 0.9.35
  932. Saturday, August 13, 2014
  933. =====================================
  934. - Fix major shape-plan caching bug when more than one shaper were
  935. provided to hb_shape_full() (as exercised by XeTeX).
  936. http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
  937. - Fix Arabic fallback shaping regression. This was broken in 0.9.32.
  938. - Major hb-coretext fixes. That backend is complete now, including
  939. respecing buffer direction and language, down to vertical writing.
  940. - Build fixes for Windows CE. Should build fine now.
  941. - Misc fixes:
  942. Use atexit() only if it's safe to call from shared library
  943. https://bugs.freedesktop.org/show_bug.cgi?id=82246
  944. Mandaic had errors in its Unicode Joining_Type
  945. https://bugs.freedesktop.org/show_bug.cgi?id=82306
  946. - API changes:
  947. * hb_buffer_clear_contents() does not reset buffer flags now.
  948. After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
  949. need to set flags for different pieces of text. The flags now
  950. are something the client sets up once, depending on how it
  951. actually uses the buffer. As such, don't clear it in
  952. clear_contents().
  953. I don't expect any changes to be needed to any existing client.
  954. Overview of changes leading to 0.9.34
  955. Saturday, August 2, 2014
  956. =====================================
  957. - hb_feature_from_string() now accepts CSS font-feature-settings format.
  958. - As a result, hb-shape / hb-view --features also accept CSS-style strings.
  959. Eg, "'liga' off" is accepted now.
  960. - Add old-spec Myanmar shaper:
  961. https://bugs.freedesktop.org/show_bug.cgi?id=81775
  962. - Don't apply 'calt' in Hangul shaper.
  963. - Fix mark advance zeroing for Hebrew shaper:
  964. https://bugs.freedesktop.org/show_bug.cgi?id=76767
  965. - Implement Windows-1256 custom Arabic shaping. Only built on Windows,
  966. and requires help from get_glyph(). Used by Firefox.
  967. https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
  968. - Disable 'liga' in vertical text.
  969. - Build fixes.
  970. - API changes:
  971. * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
  972. Previously, we expected users to provide BOT/EOT flags when the
  973. text *segment* was at paragraph boundaries. This meant that for
  974. clients that provide full paragraph to HarfBuzz (eg. Pango), they
  975. had code like this:
  976. hb_buffer_set_flags (hb_buffer,
  977. (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
  978. (item_offset + item_length == paragraph_length ?
  979. HB_BUFFER_FLAG_EOT : 0));
  980. hb_buffer_add_utf8 (hb_buffer,
  981. paragraph_text, paragraph_length,
  982. item_offset, item_length);
  983. After this change such clients can simply say:
  984. hb_buffer_set_flags (hb_buffer,
  985. HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
  986. hb_buffer_add_utf8 (hb_buffer,
  987. paragraph_text, paragraph_length,
  988. item_offset, item_length);
  989. Ie, HarfBuzz itself checks whether the segment is at the beginning/end
  990. of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
  991. continue not setting any flags whatsoever.
  992. Another way to put it is: if there's pre-context text in the buffer,
  993. HarfBuzz ignores the BOT flag. If there's post-context, it ignores
  994. EOT flag.
  995. Overview of changes leading to 0.9.33
  996. Tuesday, July 22, 2014
  997. =====================================
  998. - Turn off ARabic 'cswh' feature that was accidentally turned on.
  999. - Add HB_TAG_MAX_SIGNED.
  1000. - Make hb_face_make_immutable() really make face immutable!
  1001. - Windows build fixes.
  1002. Overview of changes leading to 0.9.32
  1003. Thursday, July 17, 2014
  1004. =====================================
  1005. - Apply Arabic shaping features in spec order exactly.
  1006. - Another fix for Mongolian free variation selectors.
  1007. - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
  1008. together.
  1009. - Minor adjustment to U+FFFD logic.
  1010. - Fix hb-coretext build.
  1011. Overview of changes leading to 0.9.31
  1012. Wednesday, July 16, 2014
  1013. =====================================
  1014. - Only accept valid UTF-8/16/32; we missed many cases before.
  1015. - Better shaping of invalid UTF-8/16/32. Falls back to
  1016. U+FFFD REPLACEMENT CHARACTER now.
  1017. - With all changes in this release, the buffer will contain fully
  1018. valid Unicode after hb_buffer_add_utf8/16/32 no matter how
  1019. broken the input is. This can be overridden though. See below.
  1020. - Fix Mongolian Variation Selectors for fonts without GDEF.
  1021. - Fix minor invalid buffer access.
  1022. - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
  1023. now uses these instead of private tags.
  1024. - Build fixes.
  1025. - New API:
  1026. * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
  1027. used to do, ie. no validity check on the input at all. add_utf32
  1028. now replaces invalid Unicode codepoints with the replacement
  1029. character (see below).
  1030. * hb_buffer_set_replacement_codepoint()
  1031. * hb_buffer_get_replacement_codepoint()
  1032. Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
  1033. we detected broken input, we replaced that with (hb_codepoint_t)-1.
  1034. This has changed to use U+FFFD now, but can be changed using these
  1035. new API.
  1036. Overview of changes leading to 0.9.30
  1037. Wednesday, July 9, 2014
  1038. =====================================
  1039. - Update to Unicode 7.0.0:
  1040. * New scripts Manichaean and Psalter Pahlavi are shaped using
  1041. Arabic shaper.
  1042. * All the other new scripts to through the generic shaper for
  1043. now.
  1044. - Minor Indic improvements.
  1045. - Fix graphite2 backend cluster mapping [crasher!]
  1046. - API changes:
  1047. * New HB_SCRIPT_* values for Unicode 7.0 scripts.
  1048. * New function hb_ot_layout_language_get_required_feature().
  1049. - Build fixes.
  1050. Overview of changes leading to 0.9.29
  1051. Thursday, May 29, 2014
  1052. =====================================
  1053. - Implement cmap in hb-ot-font.h. No variation-selectors yet.
  1054. - Myanmar: Allow MedialYa+Asat.
  1055. - Various Indic fixes:
  1056. * Support most characters in Extended Devanagary and Vedic
  1057. Unicode blocks.
  1058. * Allow digits and a some punctuation as consonant placeholders.
  1059. - Build fixes.
  1060. Overview of changes leading to 0.9.28
  1061. Monday, April 28, 2014
  1062. =====================================
  1063. - Unbreak old-spec Indic shaping. (bug 76705)
  1064. - Fix shaping of U+17DD and U+0FC6.
  1065. - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
  1066. for shipping libraries. It's an option for further experimentation
  1067. right now. When we are sure how to do it properly, we will add
  1068. public run-time API for the functionality.
  1069. - Build fixes.
  1070. Overview of changes leading to 0.9.27
  1071. Tuesday, March 18, 2014
  1072. =====================================
  1073. - Don't use "register" storage class specifier
  1074. - Wrap definition of free_langs() with HAVE_ATEXIT
  1075. - Add coretext_aat shaper and hb_coretext_face_create() constructor
  1076. - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
  1077. - Add Myanmar test case from OpenType Myanmar spec
  1078. - Only do fallback Hebrew composition if no GPOS 'mark' available
  1079. - Allow bootstrapping without gtk-doc
  1080. - Use AM_MISSING_PROG for ragel and git
  1081. - Typo in ucdn's Makefile.am
  1082. - Improve MemoryBarrier() implementation
  1083. Overview of changes leading to 0.9.26
  1084. Thursday, January 30, 2014
  1085. =====================================
  1086. - Misc fixes.
  1087. - Fix application of 'rtlm' feature.
  1088. - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
  1089. - New header: hb-ot-shape.h
  1090. - Uniscribe: fix scratch-buffer accounting.
  1091. - Reorder Tai Tham SAKOT to after tone-marks.
  1092. - Add Hangul shaper.
  1093. - New files:
  1094. hb-ot-shape-complex-hangul.cc
  1095. hb-ot-shape-complex-hebrew.cc
  1096. hb-ot-shape-complex-tibetan.cc
  1097. - Disable 'cswh' feature in Arabic shaper.
  1098. - Coretext: better handle surrogate pairs.
  1099. - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
  1100. Overview of changes leading to 0.9.25
  1101. Wednesday, December 4, 2013
  1102. =====================================
  1103. - Myanmar shaper improvements.
  1104. - Avoid font fallback in CoreText backend.
  1105. - Additional OpenType language tag mappiongs.
  1106. - More aggressive shape-plan caching.
  1107. - Build with / require automake 1.13.
  1108. - Build with libtool 2.4.2.418 alpha to support ppc64le.
  1109. Overview of changes leading to 0.9.24
  1110. Tuesday, November 13, 2013
  1111. =====================================
  1112. - Misc compiler warning fixes with clang.
  1113. - No functional changes.
  1114. Overview of changes leading to 0.9.23
  1115. Monday, October 28, 2013
  1116. =====================================
  1117. - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
  1118. - Fix (Chain)Context recursion with non-monotone lookup positions.
  1119. - Misc Indic bug fixes.
  1120. - New Javanese / Buginese shaping, similar to Windows 8.1.
  1121. Overview of changes leading to 0.9.22
  1122. Thursday, October 3, 2013
  1123. =====================================
  1124. - Fix use-after-end-of-scope in hb_language_from_string().
  1125. - Fix hiding of default_ignorables if font doesn't have space glyph.
  1126. - Protect against out-of-range lookup indices.
  1127. - API Changes:
  1128. * Added hb_ot_layout_table_get_lookup_count()
  1129. Overview of changes leading to 0.9.21
  1130. Monday, September 16, 2013
  1131. =====================================
  1132. - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
  1133. - Remove (long disabled) hb-old and hb-icu-le test shapers.
  1134. - Misc gtk-doc and gobject-introspection annotations.
  1135. - Misc fixes.
  1136. - API changes:
  1137. * Add HB_SET_VALUE_INVALID
  1138. Overview of changes leading to 0.9.20
  1139. Thursday, August 29, 2013
  1140. =====================================
  1141. General:
  1142. - Misc substitute_closure() fixes.
  1143. - Build fixes.
  1144. Documentation:
  1145. - gtk-doc boilerplate integrated. Docs are built now, but
  1146. contain no contents. By next release hopefully we have
  1147. some content in. Enable using --enable-gtk-doc.
  1148. GObject and Introspection:
  1149. - Added harfbuzz-gobject library (hb-gobject.h) that has type
  1150. bindings for all HarfBuzz objects and enums. Enable using
  1151. --with-gobject.
  1152. - Added gobject-introspection boilerplate. Nothing useful
  1153. right now. Work in progress. Gets enabled automatically if
  1154. --with-gobject is used. Override with --disable-introspection.
  1155. OpenType shaper:
  1156. - Apply 'mark' in Myanmar shaper.
  1157. - Don't apply 'dlig' by default.
  1158. Uniscribe shaper:
  1159. - Support user features.
  1160. - Fix loading of fonts that are also installed on the system.
  1161. - Fix shaping of Arabic Presentation Forms.
  1162. - Fix build with wide chars.
  1163. CoreText shaper:
  1164. - Support user features.
  1165. Source changes:
  1166. - hb_face_t code moved to hb-face.h / hb-face.cc.
  1167. - Added hb-deprecated.h.
  1168. API changes:
  1169. - Added HB_DISABLE_DEPRECATED.
  1170. - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
  1171. HB_SCRIPT_CANADIAN_SYLLABICS.
  1172. - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
  1173. HB_BUFFER_FLAG_DEFAULT.
  1174. - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
  1175. HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
  1176. Overview of changes leading to 0.9.19
  1177. Tuesday, July 16, 2013
  1178. =====================================
  1179. - Build fixes.
  1180. - Better handling of multiple variation selectors in a row.
  1181. - Pass on variation selector to GSUB if not consumed by cmap.
  1182. - Fix undefined memory access.
  1183. - Add Javanese config to Indic shaper.
  1184. - Misc bug fixes.
  1185. Overview of changes leading to 0.9.18
  1186. Tuesday, May 28, 2013
  1187. =====================================
  1188. New build system:
  1189. - All unneeded code is all disabled by default,
  1190. - Uniscribe and CoreText shapers can be enabled with their --with options,
  1191. - icu_le and old shapers cannot be enabled for now,
  1192. - glib, freetype, and cairo will be detected automatically.
  1193. They can be force on/off'ed with their --with options,
  1194. - icu and graphite2 are default off, can be enabled with their --with
  1195. options,
  1196. Moreover, ICU support is now build into a separate library:
  1197. libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
  1198. Distros can enable ICU now without every application on earth
  1199. getting linked to via libharfbuzz.so.
  1200. For distros I recommend that they make sure they are building --with-glib
  1201. --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
  1202. And package harfbuzz and harfbuzz-icu separately.
  1203. Overview of changes leading to 0.9.17
  1204. Monday, May 20, 2013
  1205. =====================================
  1206. - Build fixes.
  1207. - Fix bug in hb_set_get_min().
  1208. - Fix regression with Arabic mark positioning / width-zeroing.
  1209. Overview of changes leading to 0.9.16
  1210. Friday, April 19, 2013
  1211. =====================================
  1212. - Major speedup in OpenType lookup processing. With the Amiri
  1213. Arabic font, this release is over 3x faster than previous
  1214. release. All scripts / languages should see this speedup.
  1215. - New --num-iterations option for hb-shape / hb-view; useful for
  1216. profiling.
  1217. Overview of changes leading to 0.9.15
  1218. Friday, April 05, 2013
  1219. =====================================
  1220. - Build fixes.
  1221. - Fix crasher in graphite2 shaper.
  1222. - Fix Arabic mark width zeroing regression.
  1223. - Don't compose Hangul jamo into Unicode syllables.
  1224. Overview of changes leading to 0.9.14
  1225. Thursday, March 21, 2013
  1226. =====================================
  1227. - Build fixes.
  1228. - Fix time-consuming sanitize with malicious fonts.
  1229. - Implement hb_buffer_deserialize_glyphs() for both json and text.
  1230. - Do not ignore Hangul filler characters.
  1231. - Indic fixes:
  1232. * Fix Malayalam pre-base reordering interaction with post-forms.
  1233. * Further adjust ZWJ handling. Should fix known regressions from
  1234. 0.9.13.
  1235. Overview of changes leading to 0.9.13
  1236. Thursday, February 25, 2013
  1237. =====================================
  1238. - Build fixes.
  1239. - Ngapi HarfBuzz Hackfest in London (February 2013):
  1240. * Fixed all known Indic bugs,
  1241. * New Win8-style Myanmar shaper,
  1242. * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
  1243. * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
  1244. matching GSUB/GPOS lookups,
  1245. * Fix 'Phags-Pa U+A872 shaping,
  1246. * Fix partial disabling of default-on features,
  1247. * Allow disabling of TrueType kerning.
  1248. - Fix possible crasher with broken fonts with overlapping tables.
  1249. - Removed generated files from git again. So, one needs ragel to
  1250. bootstrap from the git tree.
  1251. API changes:
  1252. - hb_shape() and related APIs now abort if buffer direction is
  1253. HB_DIRECTION_INVALID. Previously, hb_shape() was calling
  1254. hb_buffer_guess_segment_properties() on the buffer before
  1255. shaping. The heuristics in that function are fragile. If the
  1256. user really wants the old behvaior, they can call that function
  1257. right before calling hb_shape() to get the old behavior.
  1258. - hb_blob_create_sub_blob() always creates sub-blob with
  1259. HB_MEMORY_MODE_READONLY. See comments for the reason.
  1260. Overview of changes leading to 0.9.12
  1261. Thursday, January 18, 2013
  1262. =====================================
  1263. - Build fixes for Sun compiler.
  1264. - Minor bug fix.
  1265. Overview of changes leading to 0.9.11
  1266. Thursday, January 10, 2013
  1267. =====================================
  1268. - Build fixes.
  1269. - Fix GPOS mark attachment with null Anchor offsets.
  1270. - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
  1271. - Fix multi-threaded shaper data creation crash.
  1272. - Add atomic ops for Solaris.
  1273. API changes:
  1274. - Rename hb_buffer_clear() to hb_buffer_clear_contents().
  1275. Overview of changes leading to 0.9.10
  1276. Thursday, January 3, 2013
  1277. =====================================
  1278. - [Indic] Fixed rendering of Malayalam dot-reph
  1279. - Updated OT language tags.
  1280. - Updated graphite2 backend.
  1281. - Improved hb_ot_layout_get_size_params() logic.
  1282. - Improve hb-shape/hb-view help output.
  1283. - Fixed hb-set.h implementation to not crash.
  1284. - Fixed various issues with hb_ot_layout_collect_lookups().
  1285. - Various build fixes.
  1286. New API:
  1287. hb_graphite2_face_get_gr_face()
  1288. hb_graphite2_font_get_gr_font()
  1289. hb_coretext_face_get_cg_font()
  1290. Modified API:
  1291. hb_ot_layout_get_size_params()
  1292. Overview of changes leading to 0.9.9
  1293. Wednesday, December 5, 2012
  1294. ====================================
  1295. - Fix build on Windows.
  1296. - Minor improvements.
  1297. Overview of changes leading to 0.9.8
  1298. Tuesday, December 4, 2012
  1299. ====================================
  1300. - Actually implement hb_shape_plan_get_shaper ().
  1301. - Make UCDB data tables const.
  1302. - Lots of internal refactoring in OTLayout tables.
  1303. - Flesh out hb_ot_layout_lookup_collect_glyphs().
  1304. New API:
  1305. hb_ot_layout_collect_lookups()
  1306. hb_ot_layout_get_size_params()
  1307. Overview of changes leading to 0.9.7
  1308. Sunday, November 21, 2012
  1309. ====================================
  1310. HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
  1311. - Fix Arabic contextual joining using pre-context text.
  1312. - Fix Sinhala "split matra" mess.
  1313. - Fix Khmer shaping with broken fonts.
  1314. - Implement Thai "PUA" shaping for old fonts.
  1315. - Do NOT route Kharoshthi script through the Indic shaper.
  1316. - Disable fallback positioning for Indic and Thai shapers.
  1317. - Misc fixes.
  1318. hb-shape / hb-view changes:
  1319. - Add --text-before and --text-after
  1320. - Add --bot / --eot / --preserve-default-ignorables
  1321. - hb-shape --output-format=json
  1322. New API:
  1323. hb_buffer_clear()
  1324. hb_buffer_flags_t
  1325. HB_BUFFER_FLAGS_DEFAULT
  1326. HB_BUFFER_FLAG_BOT
  1327. HB_BUFFER_FLAG_EOT
  1328. HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
  1329. hb_buffer_set_flags()
  1330. hb_buffer_get_flags()
  1331. HB_BUFFER_SERIALIZE_FLAGS
  1332. hb_buffer_serialize_glyphs()
  1333. hb_buffer_deserialize_glyphs()
  1334. hb_buffer_serialize_list_formats()
  1335. hb_set_add_range()
  1336. hb_set_del_range()
  1337. hb_set_get_population()
  1338. hb_set_next_range()
  1339. hb_face_[sg]et_glyph_count()
  1340. hb_segment_properties_t
  1341. HB_SEGMENT_PROPERTIES_DEFAULT
  1342. hb_segment_properties_equal()
  1343. hb_segment_properties_hash()
  1344. hb_buffer_set_segment_properties()
  1345. hb_buffer_get_segment_properties()
  1346. hb_ot_layout_glyph_class_t
  1347. hb_ot_layout_get_glyph_class()
  1348. hb_ot_layout_get_glyphs_in_class()
  1349. hb_shape_plan_t
  1350. hb_shape_plan_create()
  1351. hb_shape_plan_create_cached()
  1352. hb_shape_plan_get_empty()
  1353. hb_shape_plan_reference()
  1354. hb_shape_plan_destroy()
  1355. hb_shape_plan_set_user_data()
  1356. hb_shape_plan_get_user_data()
  1357. hb_shape_plan_execute()
  1358. hb_shape_plan_get_shaper()
  1359. hb_ot_shape_plan_collect_lookups()
  1360. API changes:
  1361. - Remove "mask" parameter from hb_buffer_add().
  1362. - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
  1363. - hb-set.h API const correction.
  1364. - Renamed hb_set_min/max() to hb_set_get_min/max().
  1365. - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
  1366. - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
  1367. Overview of changes leading to 0.9.6
  1368. Sunday, November 13, 2012
  1369. ====================================
  1370. - Don't clear pre-context text if no new context is provided.
  1371. - Fix ReverseChainingSubstLookup, which was totally borked.
  1372. - Adjust output format of hb-shape a bit.
  1373. - Include config.h.in in-tree. Makes it easier for alternate build systems.
  1374. - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
  1375. - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
  1376. - Drop glyphs for all of Unicode Default_Ignorable characters.
  1377. - Misc build fixes.
  1378. Arabic shaper:
  1379. - Enable 'dlig' and 'mset' features in Arabic shaper.
  1380. - Implement 'Phags-pa shaping, improve Mongolian.
  1381. Indic shaper:
  1382. - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
  1383. - Initial support for Consonant Medials.
  1384. - Start adding new-style Myanmar shaping.
  1385. - Make reph and 'pref' logic introspect the font.
  1386. - Route Meetei-Mayek through the Indic shaper.
  1387. - Don't apply 'liga' in Indic shaper.
  1388. - Improve Malayalam pre-base reordering Ra interaction with Chillus.
  1389. Overview of changes leading to 0.9.5
  1390. Sunday, October 14, 2012
  1391. ====================================
  1392. - Synthetic-GSUB Arabic fallback shaping.
  1393. - Misc Indic improvements.
  1394. - Add build system support for pthread.
  1395. - Imported UCDN for in-tree Unicode callbacks implementation.
  1396. - Context-aware Arabic joining.
  1397. - Misc other fixes.
  1398. - New API:
  1399. hb_feature_to/from-string()
  1400. hb_buffer_[sg]et_content_type()
  1401. Overview of changes leading to 0.9.4
  1402. Tuesday, Sep 03, 2012
  1403. ====================================
  1404. - Indic improvements with old-spec Malayalam.
  1405. - Better fallback glyph positioning, specially with Thai / Lao marks.
  1406. - Implement dotted-circle insertion.
  1407. - Better Arabic fallback shaping / ligation.
  1408. - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
  1409. - Misc fixes.
  1410. Overview of changes leading to 0.9.3
  1411. Friday, Aug 18, 2012
  1412. ====================================
  1413. - Fixed fallback mark positioning for left-to-right text.
  1414. - Improve mark positioning for the remaining combining classes.
  1415. - Unbreak Thai and fallback Arabic shaping.
  1416. - Port Arabic shaper to shape-plan caching.
  1417. - Use new ICU normalizer functions.
  1418. Overview of changes leading to 0.9.2
  1419. Friday, Aug 10, 2012
  1420. ====================================
  1421. - Over a thousand commits! This is the first major release of HarfBuzz.
  1422. - HarfBuzz is feature-complete now! It should be in par, or better, than
  1423. both Pango's shapers and old HarfBuzz / Qt shapers.
  1424. - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
  1425. - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
  1426. Sinhala, N'ko, Mongolian, and Mandaic.
  1427. - New Thai / Lao shaper.
  1428. - Tibetan / Hangul support in the generic shaper.
  1429. - Synthetic GDEF support for fonts without a GDEF table.
  1430. - Fallback mark positioning for fonts without a GPOS table.
  1431. - Unicode normalization shaping heuristic during glyph mapping.
  1432. - New experimental Graphite2 backend.
  1433. - New Uniscribe backend (primarily for testing).
  1434. - New CoreText backend (primarily for testing).
  1435. - Major optimization and speedup.
  1436. - Test suites and testing infrastructure (work in progress).
  1437. - Greatly improved hb-view cmdline tool.
  1438. - hb-shape cmdline tool.
  1439. - Unicode 6.1 support.
  1440. Summary of API changes:
  1441. o Changed API:
  1442. - Users are expected to only include main header files now (ie. hb.h,
  1443. hb-glib.h, hb-ft.h, ...)
  1444. - All struct tag names had their initial underscore removed.
  1445. Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
  1446. - All set_user_data() functions now take a "replace" boolean parameter.
  1447. - hb_buffer_create() takes zero arguments now.
  1448. Use hb_buffer_pre_allocate() to pre-allocate.
  1449. - hb_buffer_add_utf*() now accept -1 for length parameteres,
  1450. meaning "nul-terminated".
  1451. - hb_direction_t enum values changed.
  1452. - All *_from_string() APIs now take a length parameter to allow for
  1453. non-nul-terminated strings. A -1 length means "nul-terminated".
  1454. - Typedef for hb_language_t changed.
  1455. - hb_get_table_func_t renamed to hb_reference_table_func_t.
  1456. - hb_ot_layout_table_choose_script()
  1457. - Various renames in hb-unicode.h.
  1458. o New API:
  1459. - hb_buffer_guess_properties()
  1460. Automatically called by hb_shape().
  1461. - hb_buffer_normalize_glyphs()
  1462. - hb_tag_from_string()
  1463. - hb-coretext.h
  1464. - hb-uniscribe.h
  1465. - hb_face_reference_blob()
  1466. - hb_face_[sg]et_index()
  1467. - hb_face_set_upem()
  1468. - hb_font_get_glyph_name_func_t
  1469. hb_font_get_glyph_from_name_func_t
  1470. hb_font_funcs_set_glyph_name_func()
  1471. hb_font_funcs_set_glyph_from_name_func()
  1472. hb_font_get_glyph_name()
  1473. hb_font_get_glyph_from_name()
  1474. hb_font_glyph_to_string()
  1475. hb_font_glyph_from_string()
  1476. - hb_font_set_funcs_data()
  1477. - hb_ft_font_set_funcs()
  1478. - hb_ft_font_get_face()
  1479. - hb-gobject.h (work in progress)
  1480. - hb_ot_shape_glyphs_closure()
  1481. hb_ot_layout_substitute_closure_lookup()
  1482. - hb-set.h
  1483. - hb_shape_full()
  1484. - hb_unicode_combining_class_t
  1485. - hb_unicode_compose_func_t
  1486. hb_unicode_decompose_func_t
  1487. hb_unicode_decompose_compatibility_func_t
  1488. hb_unicode_funcs_set_compose_func()
  1489. hb_unicode_funcs_set_decompose_func()
  1490. hb_unicode_funcs_set_decompose_compatibility_func()
  1491. hb_unicode_compose()
  1492. hb_unicode_decompose()
  1493. hb_unicode_decompose_compatibility()
  1494. o Removed API:
  1495. - hb_ft_get_font_funcs()
  1496. - hb_ot_layout_substitute_start()
  1497. hb_ot_layout_substitute_lookup()
  1498. hb_ot_layout_substitute_finish()
  1499. hb_ot_layout_position_start()
  1500. hb_ot_layout_position_lookup()
  1501. hb_ot_layout_position_finish()
  1502. Overview of changes leading to 0.6.0
  1503. Friday, May 27, 2011
  1504. ====================================
  1505. - Vertical text support in GPOS
  1506. - Almost all API entries have unit tests now, under test/
  1507. - All thread-safety issues are fixed
  1508. Summary of API changes follows.
  1509. * Simple Types API:
  1510. o New API:
  1511. HB_LANGUAGE_INVALID
  1512. hb_language_get_default()
  1513. hb_direction_to_string()
  1514. hb_direction_from_string()
  1515. hb_script_get_horizontal_direction()
  1516. HB_UNTAG()
  1517. o Renamed API:
  1518. hb_category_t renamed to hb_unicode_general_category_t
  1519. o Changed API:
  1520. hb_language_t is a typed pointers now
  1521. o Removed API:
  1522. HB_TAG_STR()
  1523. * Use ISO 15924 tags for hb_script_t:
  1524. o New API:
  1525. hb_script_from_iso15924_tag()
  1526. hb_script_to_iso15924_tag()
  1527. hb_script_from_string()
  1528. o Changed API:
  1529. HB_SCRIPT_* enum members changed value.
  1530. * Buffer API streamlined:
  1531. o New API:
  1532. hb_buffer_reset()
  1533. hb_buffer_set_length()
  1534. hb_buffer_allocation_successful()
  1535. o Renamed API:
  1536. hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
  1537. hb_buffer_add_glyph() renamed to hb_buffer_add()
  1538. o Removed API:
  1539. hb_buffer_clear()
  1540. hb_buffer_clear_positions()
  1541. o Changed API:
  1542. hb_buffer_get_glyph_infos() takes an out length parameter now
  1543. hb_buffer_get_glyph_positions() takes an out length parameter now
  1544. * Blob API streamlined:
  1545. o New API:
  1546. hb_blob_get_data()
  1547. hb_blob_get_data_writable()
  1548. o Renamed API:
  1549. hb_blob_create_empty() renamed to hb_blob_get_empty()
  1550. o Removed API:
  1551. hb_blob_lock()
  1552. hb_blob_unlock()
  1553. hb_blob_is_writable()
  1554. hb_blob_try_writable()
  1555. o Changed API:
  1556. hb_blob_create() takes user_data before destroy now
  1557. * Unicode functions API:
  1558. o Unicode function vectors can subclass other unicode function vectors now.
  1559. Unimplemented callbacks in the subclass automatically chainup to the parent.
  1560. o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
  1561. take a user_data and its respective destroy callback.
  1562. o New API:
  1563. hb_unicode_funcs_get_empty()
  1564. hb_unicode_funcs_get_default()
  1565. hb_unicode_funcs_get_parent()
  1566. o Changed API:
  1567. hb_unicode_funcs_create() now takes a parent_funcs.
  1568. o Removed func getter functions:
  1569. hb_unicode_funcs_get_mirroring_func()
  1570. hb_unicode_funcs_get_general_category_func()
  1571. hb_unicode_funcs_get_script_func()
  1572. hb_unicode_funcs_get_combining_class_func()
  1573. hb_unicode_funcs_get_eastasian_width_func()
  1574. * Face API:
  1575. o Renamed API:
  1576. hb_face_get_table() renamed to hb_face_reference_table()
  1577. hb_face_create_for_data() renamed to hb_face_create()
  1578. o Changed API:
  1579. hb_face_create_for_tables() takes user_data before destroy now
  1580. hb_face_reference_table() returns empty blob instead of NULL
  1581. hb_get_table_func_t accepts the face as first parameter now
  1582. * Font API:
  1583. o Fonts can subclass other fonts now. Unimplemented callbacks in the
  1584. subclass automatically chainup to the parent. When chaining up,
  1585. scale is adjusted if the parent font has a different scale.
  1586. o All hb_font_funcs_t callbacks take a user_data now. Their setters
  1587. take a user_data and its respective destroy callback.
  1588. o New API:
  1589. hb_font_get_parent()
  1590. hb_font_funcs_get_empty()
  1591. hb_font_create_sub_font()
  1592. o Removed API:
  1593. hb_font_funcs_copy()
  1594. hb_font_unset_funcs()
  1595. o Removed func getter functions:
  1596. hb_font_funcs_get_glyph_func()
  1597. hb_font_funcs_get_glyph_advance_func()
  1598. hb_font_funcs_get_glyph_extents_func()
  1599. hb_font_funcs_get_contour_point_func()
  1600. hb_font_funcs_get_kerning_func()
  1601. o Changed API:
  1602. hb_font_create() takes a face and references it now
  1603. hb_font_set_funcs() takes user_data before destroy now
  1604. hb_font_set_scale() accepts signed integers now
  1605. hb_font_get_contour_point_func_t now takes glyph first, then point_index
  1606. hb_font_get_glyph_func_t returns a success boolean now
  1607. * Changed object model:
  1608. o All object types have a _get_empty() now:
  1609. hb_blob_get_empty()
  1610. hb_buffer_get_empty()
  1611. hb_face_get_empty()
  1612. hb_font_get_empty()
  1613. hb_font_funcs_get_empty()
  1614. hb_unicode_funcs_get_empty()
  1615. o Added _set_user_data() and _get_user_data() for all object types:
  1616. hb_blob_get_user_data()
  1617. hb_blob_set_user_data()
  1618. hb_buffer_get_user_data()
  1619. hb_buffer_set_user_data()
  1620. hb_face_get_user_data()
  1621. hb_face_set_user_data()
  1622. hb_font_funcs_get_user_data()
  1623. hb_font_funcs_set_user_data()
  1624. hb_font_get_user_data()
  1625. hb_font_set_user_data()
  1626. hb_unicode_funcs_get_user_data()
  1627. hb_unicode_funcs_set_user_data()
  1628. o Removed the _get_reference_count() from all object types:
  1629. hb_blob_get_reference_count()
  1630. hb_buffer_get_reference_count()
  1631. hb_face_get_reference_count()
  1632. hb_font_funcs_get_reference_count()
  1633. hb_font_get_reference_count()
  1634. hb_unicode_funcs_get_reference_count()
  1635. o Added _make_immutable() and _is_immutable() for all object types except for buffer:
  1636. hb_blob_make_immutable()
  1637. hb_blob_is_immutable()
  1638. hb_face_make_immutable()
  1639. hb_face_is_immutable()
  1640. * Changed API for vertical text support
  1641. o The following callbacks where removed:
  1642. hb_font_get_glyph_advance_func_t
  1643. hb_font_get_kerning_func_t
  1644. o The following new callbacks added instead:
  1645. hb_font_get_glyph_h_advance_func_t
  1646. hb_font_get_glyph_v_advance_func_t
  1647. hb_font_get_glyph_h_origin_func_t
  1648. hb_font_get_glyph_v_origin_func_t
  1649. hb_font_get_glyph_h_kerning_func_t
  1650. hb_font_get_glyph_v_kerning_func_t
  1651. o The following API removed as such:
  1652. hb_font_funcs_set_glyph_advance_func()
  1653. hb_font_funcs_set_kerning_func()
  1654. hb_font_get_glyph_advance()
  1655. hb_font_get_kerning()
  1656. o New API added instead:
  1657. hb_font_funcs_set_glyph_h_advance_func()
  1658. hb_font_funcs_set_glyph_v_advance_func()
  1659. hb_font_funcs_set_glyph_h_origin_func()
  1660. hb_font_funcs_set_glyph_v_origin_func()
  1661. hb_font_funcs_set_glyph_h_kerning_func()
  1662. hb_font_funcs_set_glyph_v_kerning_func()
  1663. hb_font_get_glyph_h_advance()
  1664. hb_font_get_glyph_v_advance()
  1665. hb_font_get_glyph_h_origin()
  1666. hb_font_get_glyph_v_origin()
  1667. hb_font_get_glyph_h_kerning()
  1668. hb_font_get_glyph_v_kerning()
  1669. o The following higher-leve API added for convenience:
  1670. hb_font_get_glyph_advance_for_direction()
  1671. hb_font_get_glyph_origin_for_direction()
  1672. hb_font_add_glyph_origin_for_direction()
  1673. hb_font_subtract_glyph_origin_for_direction()
  1674. hb_font_get_glyph_kerning_for_direction()
  1675. hb_font_get_glyph_extents_for_origin()
  1676. hb_font_get_glyph_contour_point_for_origin()
  1677. * OpenType Layout API:
  1678. o New API:
  1679. hb_ot_layout_position_start()
  1680. hb_ot_layout_substitute_start()
  1681. hb_ot_layout_substitute_finish()
  1682. * Glue code:
  1683. o New API:
  1684. hb_glib_script_to_script()
  1685. hb_glib_script_from_script()
  1686. hb_icu_script_to_script()
  1687. hb_icu_script_from_script()
  1688. * Version API added:
  1689. o New API:
  1690. HB_VERSION_MAJOR
  1691. HB_VERSION_MINOR
  1692. HB_VERSION_MICRO
  1693. HB_VERSION_STRING
  1694. HB_VERSION_CHECK()
  1695. hb_version()
  1696. hb_version_string()
  1697. hb_version_check()