- 23 10月, 2018 36 次提交
-
-
由 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.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
We don't expose "gid" in API.
-
由 Behdad Esfahbod 提交于
-
由 Ebrahim Byagowi 提交于
-
- 22 10月, 2018 4 次提交
-
-
由 Behdad Esfahbod 提交于
Not sure if MSVC would be unhappy about this.
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Sanitize always comes just before data member definitions, so it's easy to cross-check.
-
由 Behdad Esfahbod 提交于
When a struct is plain old data with no references, etc, it's okay to mark its members public.
-