FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support load multiple fonts from .ttc by RainbowC0 · Pull Request #1765 · solvespace/solvespace · GitHub

Support load multiple fonts from .ttc - #1765

Open
RainbowC0 wants to merge 2 commits into
solvespace:masterfrom
RainbowC0:ttc
Open

RainbowC0 wants to merge 2 commits into
solvespace:masterfrom
RainbowC0:ttc

Conversation

Copy link
Copy Markdown

No description provided.

phkahler commented Sep 1, 2026

Copy link
Copy Markdown
Member

@RainbowC0 What was this in response to? Doesn't this have potential to dramatically expand the list of fonts in the text window? I suppose that's the point though, if some are missing.

RainbowC0 commented Sep 1, 2026 •
edited
Loading

Copy link
Copy Markdown
Author

@phkahler I have a system font NotoSansCJK.ttc which contains chinese characters for SC, TW, JP, KR, but before this change I can only get the JP variation, which displays different with SC characters like 门, 令. TTC font file usually contains a set of font variations which shares some common glyphs, so it's necessary to load all variations.

Copy link
Copy Markdown
Author

@RainbowC0 What was this in response to? Doesn't this have potential to dramatically expand the list of fonts in the text window? I suppose that's the point though, if some are missing.

I got 220 fonts on the text window before this change, and 246 after it on my win11. Most system font files on Windows (also others) are in ttf format, which contains only one font face (fontFace->num_faces==1), so it's not the point.

Anything else to consider?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL