mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Typeface: Implement platform typefaces using Harfbuzz hb_font_t
This commit is contained in:
parent
080ac6e7e7
commit
0d2e34f34c
56 changed files with 8359 additions and 2985 deletions
|
|
@ -4,6 +4,30 @@
|
|||
|
||||
## Change
|
||||
|
||||
CustomTypeface has been removed.
|
||||
|
||||
**Possible Issues**
|
||||
|
||||
Code that interacts with CustomTypeface will fail to compile.
|
||||
|
||||
**Workaround**
|
||||
|
||||
There is currently no workaround. If you were using CustomTypeface to
|
||||
implement typeface fallback, there is a new API,
|
||||
Font::findSuitableFontForText, that you can use to locate fonts capable
|
||||
of rendering given strings.
|
||||
|
||||
**Rationale**
|
||||
|
||||
The CustomTypeface class is difficult/impossible to support with the new
|
||||
HarfBuzz Typeface implementation. New support for automatic font fallback
|
||||
will be introduced in JUCE 8, and this will obviate much of the need for
|
||||
CustomTypeface.
|
||||
|
||||
>>>>>>> 94454123d6 (Typeface: Implement platform typefaces using Harfbuzz hb_font_t)
|
||||
|
||||
## Change
|
||||
|
||||
The Android implementations of Typeface::getStringWidth(), getGlyphPositions(),
|
||||
and getEdgeTableForGlyph() have been updated to return correctly-normalised
|
||||
results. The effect of this change is to change (in practice, slightly reduce)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue