-
Notifications
You must be signed in to change notification settings - Fork 0
Change: Support side-by-side fallback FontCaches instead of hierarchi… #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/gfx_layout_icu.cpp
Outdated
| // for (auto const &pair : font_mapping) { | ||
| // if (pair.second->fc == nullptr || pair.second->fc->IsBuiltInFont()) return nullptr; | ||
| // } |
Check notice
Code scanning / CodeQL
Commented-out code Note
src/settings_gui.cpp
Outdated
| this->SetDirty(); | ||
|
|
||
| InitFontCache(false); | ||
| // InitFontCache(false); |
Check notice
Code scanning / CodeQL
Commented-out code Note
src/os/unix/font_unix.cpp
Outdated
|
|
||
| bool missing = callback->FindMissingGlyphs(); | ||
| Debug(fontcache, 1, "Font \"{}\" misses{} glyphs", (char *)file, missing ? "" : " no"); | ||
| for (FontSize fs = FS_BEGIN; fs != FS_END; fs++) { |
Check notice
Code scanning / CodeQL
Declaration hides variable Note
df143b1 to
676cfa9
Compare
src/gfx_layout_icu.cpp
Outdated
| if (this->level & 1) c = SwapRtlPairedCharacters(c); | ||
| this->glyphs.emplace_back(this->font->fc->MapCharToGlyph(c)); | ||
| this->glyph_to_char.push_back(i); | ||
| if (Utf16IsLeadSurrogate(*(buff + i))) ++i; |
Check notice
Code scanning / CodeQL
For loop variable changed in body Note
536734e to
5c1f9ee
Compare
5c1f9ee to
8b869fc
Compare
8b869fc to
8c9a3fc
Compare
0ddd74b to
3a3e5c4
Compare
5bb1484 to
9094cf6
Compare
8d4fbc1 to
1fa0995
Compare
1fa0995 to
a58833b
Compare
a58833b to
26001c4
Compare
d6d6e87 to
0b0db15
Compare
0b0db15 to
3f4a150
Compare
3f4a150 to
fe044f5
Compare
…cal. The text layouter system can now support using different fonts for different glyphs, including mixing scalable and sprite glyphs.
fe044f5 to
c94ab8e
Compare
…cal.
The text layouter system can now support using different fonts for different glyphs, including mixing scalable and sprite glyphs.
Motivation / Problem
Description
Limitations
Checklist for review
Some things are not automated, and forgotten often. This list is a reminder for the reviewers.