- 24 10月, 2018 7 次提交
-
-
由 Behdad Esfahbod 提交于
Only merge when actual ligature happened. Fixes https://github.com/harfbuzz/harfbuzz/issues/1305
-
由 Garret Rieger 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Only works at entire-buffer range, not sub-ranges. Test with: $ hb-shape Zapfino.dfont Zapfino [Z_a_p_f_i_n_o=0+2333] $ hb-shape Zapfino.dfont Zapfino --features=-dlig [Z=0+416|a=1@-21,0+264|p_f=2+433|i=4+181|n=5+261|o=6+250] $ hb-shape Zapfino.dfont Zapfino --features=+dlig [Z_a_p_f_i_n_o=0+2333] Fixes https://github.com/harfbuzz/harfbuzz/issues/1303
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
- 23 10月, 2018 33 次提交
-
-
-
由 Behdad Esfahbod 提交于
-
由 Ebrahim Byagowi 提交于
So '--features=-trak' or 'font-feature-settings: 'trak' 0;' can prevent applying of tracking if used.
-
-
由 David Corbett 提交于
-
由 Behdad Esfahbod 提交于
Fixes https://github.com/harfbuzz/harfbuzz/issues/544 Test added with NotoSansCJK, eg. with U+FF38.
-
由 Behdad Esfahbod 提交于
Unhooked.
-
由 Behdad Esfahbod 提交于
Cherry-picked from cff-subset branch.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Test with Apple Color Emoji.ttf of ~66MB and following sequence: ./hb-shape Apple\ Color\ Emoji-old.ttf --font-funcs=ot -u U+1F468,200d,U+1F469,200d,U+1F467,200d,1f466 Should form full family if matching works correctly. It first makes family of three, then makes family of four out of that and the last two characters. Fixes https://github.com/harfbuzz/harfbuzz/issues/1292
-
由 Ebrahim Byagowi 提交于
#define Null(Type) Null<typename hb_remove_const<typename hb_remove_reference<Type>::value>::value>() raises: hb-blob.cc: In function 'hb_blob_t* hb_blob_get_empty()': hb-blob.cc:194: error: using 'typename' outside of template hb-blob.cc:194: error: using 'typename' outside of template Removing "typename"s fixes the issue but makes newer compiler fail apparently. Probably downstream can patch that locally till we get a solution.
-
由 Behdad Esfahbod 提交于
-
-
由 Behdad Esfahbod 提交于
Simplifies transient object creation. Fixes https://github.com/harfbuzz/harfbuzz/issues/1301
-
由 Behdad Esfahbod 提交于
Doesn't matter, but matches the description.
-
由 Behdad Esfahbod 提交于
Fixes https://github.com/harfbuzz/harfbuzz/issues/1299 Removes anomaly I was seeing in cpal table trying to use implicit Null(NameID).
-
由 Behdad Esfahbod 提交于
Normally I would have added to_string / from_string like other types have. But since we don't use hb_color_t much, I'm not going to do that. Although, if we did, we could use it in hb-view to parse colors...
-
由 Behdad Esfahbod 提交于
Now to hb_color_t.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Will come in through <T> if desired.
-
由 Behdad Esfahbod 提交于
Doesn't work though, ouch :(. Need to figure out if it's unreasonable to expect Null(T) inside hb_array_t<T> to see the later specialization of Null for NameID.
-
由 Behdad Esfahbod 提交于
We cannot use a nullable offset here though.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Ebrahim Byagowi 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
COLR table has one function: return layers for a glyph, and we expose exactly that, so should just wire it through. Also use sub_array() for verifiable safety. Also, BaseGlyphRecord's null object is enough. We don't need to special-case the not-found.
-
由 Behdad Esfahbod 提交于
We never return parallel arrays from functions. That's inconvenient and hard to bind.
-
由 Behdad Esfahbod 提交于
Implement has_data() for realz.
-