You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
font_path may be null
Given PR #57, we can quite easily get `CTFontDescriptor` that returns `null` for the `font_path`.
In the default font chains I've seen at least two fonts that are part of the chains but we can't get the `font_path`. Interestingly the font names and family names are prefixed with a `.` as if to indicate they are internal:
".Apple Symbols Fallback",
".Noto Sans Universal",
This is a breaking change, so may be undesirable, but I think it requires discussion.
Here's the full fallback list for `Menlo` and language `en`.
```
"Monaco",
".Apple Symbols Fallback",
"Lucida Grande",
"Courier New",
"Ayuthaya",
"Kailasa",
"PingFang SC",
"PingFang TC",
"Hiragino Sans",
"Hiragino Sans GB",
"Apple SD Gothic Neo",
"PingFang HK",
"Kohinoor Bangla",
"Kohinoor Devanagari",
"Gujarati Sangam MN",
"Gurmukhi MN",
"Kannada Sangam MN",
"Khmer Sangam MN",
"Lao Sangam MN",
"Malayalam Sangam MN",
"Myanmar Sangam MN",
"Oriya Sangam MN",
"Sinhala Sangam MN",
"Tamil Sangam MN",
"Kohinoor Telugu",
"Mshtakan",
"Euphemia UCAS",
"Plantagenet Cherokee",
".Noto Sans Universal",
"Apple Color Emoji"
```
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/core-text-rs/58)
<!-- Reviewable:end -->
0 commit comments