Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Oct 12, 2024
1 parent 17cc782 commit aee4e5d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion TeXmacs/tests/tmu/unicode_256.en.tmu
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
</cell>>|<row|<\cell>
002
</cell>|<\cell>
\;
\
</cell>|<\cell>
!
</cell>|<\cell>
Expand Down
2 changes: 1 addition & 1 deletion TeXmacs/tests/tmu/unicode_256.zh.tmu
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
</cell>>|<row|<\cell>
002
</cell>|<\cell>
\;
\
</cell>|<\cell>
!
</cell>|<\cell>
Expand Down
1 change: 0 additions & 1 deletion src/Graphics/Fonts/smart_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,6 @@ smart_font_rep::resolve (string c, string fam, int attempt) {
return sm->add_char (key, c);
}
}
cout << "re-checking " << c << LF;

if (fam == "roman" && get_unicode_range (c) == "greek") {
tree key= tuple ("greek", fam, variant, series, rshape);
Expand Down
2 changes: 0 additions & 2 deletions src/Plugins/Freetype/unicode_font.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -696,9 +696,7 @@ unicode_font_rep::supports (string c) {
if (N (c) == 0) return false;
int i = 0;
unsigned int uc= read_unicode_char (c, i);
cout << "uc: " << uc << LF;
if (uc == 0 || !fnm->exists (uc)) return false;
cout << "uc2: " << uc << LF;
if (uc >= 0x42 && uc <= 0x5a && !fnm->exists (0x41)) return false;
if (uc >= 0x62 && uc <= 0x7a && !fnm->exists (0x61)) return false;
metric_struct* m= fnm->get (uc);
Expand Down

0 comments on commit aee4e5d

Please sign in to comment.