Skip to content

Commit dd476e6

Browse files
author
John Daggett
committed
[css-fonts] update OSX font API notes in Appendix A and update change list
1 parent 32b2994 commit dd476e6

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

css-fonts/Fonts.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5340,12 +5340,11 @@ <h2 class=no-num id=platform-props-to-css>Appendix A: Mapping platform font
53405340
<p>On various platforms, different names are used to search for a font. For
53415341
example, with the Windows GDI CreateIndirectFont API, either a family or
53425342
fullname can be used to lookup a face while on Mac OS X the
5343-
ATSFontFindFromName and ATSFontFindFromPostScriptName API calls are used
5344-
to lookup a given face using the fullname and Postscript name. Under
5345-
Linux, the fontconfig API allows fonts to be searched using any of these
5346-
names. In situations where platform API's automatically substitute other
5347-
font choices, it may be necessary to verify a returned font matches a
5348-
given name.
5343+
CTFontCreateWithName API call is used to lookup a given face using the
5344+
fullname and Postscript name. Under Linux, the fontconfig API allows fonts
5345+
to be searched using any of these names. In situations where platform
5346+
API's automatically substitute other font choices, it may be necessary to
5347+
verify a returned font matches a given name.
53495348

53505349
<p>The weight of a given face can be determined via the usWeightClass field
53515350
of the OS/2 table or inferred from the style name (name ID 2). Likewise,
@@ -5377,6 +5376,8 @@ <h3 class=no-num id=recent-changes> Changes from the <a
53775376

53785377
<li>Added grammar productions for <code>@font-face</code> and
53795378
<code>@font-feature-values</code> rules
5379+
5380+
<li>Tightened definition of synthetic oblique
53805381
</ul>
53815382

53825383
<h2 class=no-num id=acknowledgments>Acknowledgments</h2>

0 commit comments

Comments
 (0)