NEWS 115 KB

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