Closed Bug 437355 Opened 16 years ago Closed 4 years ago

AAT fonts with 'fvar' axis & MM fonts unused

Categories

(Core :: Graphics, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1302685

People

(Reporter: bugmail, Assigned: jfkthame)

References

()

Details

(Keywords: css1)

This is a copy of WebKit bug 5168. On Mac we should take advantage of font variability axes which provide for continuously variable weight, optical size or glyph width. Skia is an example of such a font.

Safari should take advantage of any variable axes available within a font
rather then synthesising traits.
Common axes supported by Multiple Master and AAT fonts include:
* Weight (bold or light)
* Optical Size ('chunkyness' of serifs & thick/thin stroke ratio)
* Glyph width (condensed/extended forms)

Nicholas Shanks included an excellent testcase on the aforementioned WebKit bug showing a table of Qs using the font Skia. It 
has an accompanying image showing the correct rendering.
Blocks: 105800
Depends on: font-stretch
Depends on: 972
Greg, as an ex-QDGX engineer I would absolutely *love* to enable just the feature you describe.  But all the signs from Apple are that this will not be supported in future Apple text API's like CoreText and there are very few fonts that support width/weight variations like this.
No longer depends on: font-stretch
Actually, the CoreText API does include support for variation fonts, although there are very few of them out there. I haven't tested to see whether this also works with MM's, though I expect it probably will, by analogy with how ATSUI handles them.

It probably wouldn't be all that hard to do this (both for CoreText and ATSUI, though I'd be inclined to ignore ATSUI as we intend to abandon that path anyway once we give up support for 10.4).
Product: Core → Core Graveyard
Assignee: joshmoz → nobody
Component: GFX: Mac → GFX: Thebes
Product: Core Graveyard → Core
QA Contact: mac → thebes
Assigning to Jonathan.
Assignee: nobody → jfkthame

Variation font support was bug 1302685 and dependencies; closing this.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.