- 09 8月, 2016 1 次提交
-
-
由 Behdad Esfahbod 提交于
This one: map->mask = (1 << (next_bit + bits_needed)) - (1 << next_bit); before the fix, the shift was done as an int, causing overflow if it ever got to 1 << 31. Sprinkle 'u's around. Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=634805
-
- 06 1月, 2016 1 次提交
-
-
由 Behdad Esfahbod 提交于
This happens with at least one test font I have.
-
- 18 12月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
On Windows 10 we are seeing that other error message... Test sequence: U+0995,U+-9CD,U+09B0 With Nirmala shipped on Windows 10, this failed to form the below form. Works now. Reported by Sairus.
-
- 20 8月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
Ouch!
-
- 19 8月, 2015 1 次提交
-
-
由 Behdad Esfahbod 提交于
By default shape at upem (or ppem), and scale results. Similar to work done in CoreText backend, but using upem as default.
-
- 15 10月, 2014 1 次提交
-
-
- 12 8月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 11 8月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 07 8月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
Apparently they are not (advertised as?) safe on BSD systems. We ignore the case of static libraries. Whitelisted on glibc, Android, and MSVC / mingw. https://bugs.freedesktop.org/show_bug.cgi?id=82246
-
- 03 8月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 20 7月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 12 7月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
Simplifies hb_in_range() calls as the type can be inferred. The rest is obsessiveness, I admit.
-
- 20 6月, 2014 1 次提交
-
-
由 Behdad Esfahbod 提交于
In an effort to make the algorithm used clear.
-
- 22 1月, 2014 1 次提交
-
-
由 Jonathan Kew 提交于
-
- 24 12月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 14 11月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 13 11月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 29 8月, 2013 1 次提交
-
- 22 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
See discussion on the list in the thread "Arabic presentation forms and the uniscribe backend". Based on patch from Jonathan Kew.
-
- 21 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 13 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Based on patch from Jonathan Kew and data from Apple. It's not working correctly though, and I suspect I'm hitting a bug in CoreText. When I do this: hb-shape /Library/Fonts/Zapfino.ttf ZapfinoZapfino --shaper coretext \ --features=-liga I expect both ligatures to turn off, but only the second one does: [Z_a_p_f_i_n_o=0+2333|Z=7+395|a=8+285|p_f=9+433|i=11+181|n=12+261|o=13+250] whereas if I disable 'dlig' instead of 'liga', both are turned off. Smells... Doesn't resolve conflicting feature settings.
-
- 08 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
As Khaled pointed out, right now setting any features, turns kern and possibly other features off.
-
- 07 8月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Turning features on globally works now.
-
- 22 7月, 2013 6 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
When installing per-process fonts using AddFontMemResourceEx(), if a font with the same family name is already installed, sometimes that one gets used. Which is problematic for us. As such, we now mangle the font to install a new 'name' table with a unique name, which we then use to choose the font. Patch from Jonathan Kew.
-
- 08 7月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Email from Jonathan Kew: My cygwin build kept aborting on certain test words when run with the uniscribe backend. Turned out this was caused by a bug in the allocation of scratch buffers in hb-uniscribe.cc. Commit 2a17f956 introduced a new line ALLOCATE_ARRAY (SCRIPT_VISATTR, vis_attr, glyphs_size); but it failed to account for this in the computation of glyphs_size (the number of glyphs for which scratch buffer space is available), with the result that the vis_clusters array ends up overrunning the end of the scratch buffer and clobbering the beginning of the buffer's info[]. AFAICS, the vis_attr array is not actually used, so the simple fix is to remove the line that allocates it. (If/when we -do- need to use vis_attr for something, we'll need to add another term to the earlier calculation of glyphs_size.) With this patch, the uniscribe backend runs reliably again. JK
-
- 04 6月, 2013 1 次提交
-
-
由 Chun-wei Fan 提交于
-Declare hinstLib at the top of block -Fix the definitions of the typedefs of ScriptItemizeOpenType, ScriptShapeOpenType and ScriptPlaceOpenType
-
- 29 5月, 2013 1 次提交
-
-
由 Behdad Esfahbod 提交于
Fallback to older API if OpenType variants are not available.
-
- 10 12月, 2012 2 次提交
-
-
由 Behdad Esfahbod 提交于
-
由 Behdad Esfahbod 提交于
Oops!
-
- 29 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Avoids USHORT, SHORT, ULONG, LONG clashes with Windows API.
-
- 14 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 08 8月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 31 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-
- 29 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
Wasn't a huge fan of putting the burden on the user. Just remove it and do what we've got to do transparently.
-
- 27 7月, 2012 1 次提交
-
-
由 Behdad Esfahbod 提交于
-