Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs
Commits:
-
54dabcfb
by Alexei Podtelezhnikov at 2021-05-01T22:45:34-04:00
2 changed files:
Changes:
1 |
+2021-04-30 Alexei Podtelezhnikov <apodtele@gmail.com>
|
|
2 |
+ |
|
3 |
+ * src/ftdump.c (Print_Charmaps): Add hexadecimal FNT charset.
|
|
4 |
+ |
|
1 | 5 |
2021-04-30 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2 | 6 |
|
3 | 7 |
* src/ftdump.c (Print_Charmaps): Add PCF/BDF/FNT charset info.
|
... | ... | @@ -534,7 +534,9 @@ |
534 | 534 |
else if ( !FT_Get_BDF_Charset_ID( face, &encoding, ®istry ) )
|
535 | 535 |
printf( ", charset %s-%s", registry, encoding );
|
536 | 536 |
else if ( !FT_Get_WinFNT_Header( face, &header ) )
|
537 |
- printf( ", charset %d", header.charset );
|
|
537 |
+ printf( header.charset < 10 ? ", charset %hu"
|
|
538 |
+ : ", charset %hu <%hX>",
|
|
539 |
+ header.charset, header.charset );
|
|
538 | 540 |
|
539 | 541 |
printf ( "\n" );
|
540 | 542 |
|