mirror of
https://bjh21.me.uk/bedstead/.git
synced 2026-07-10 22:13:07 -04:00
Switch encoding from UnicodeBmp to UnicodeFull
This should have no effect on the OTF output, but it ensures that all characters are properly encoded in BDF. It also corrects a technical invalidity in our SFD files.
This commit is contained in:
parent
0a21eeaeff
commit
1933bc167f
@ -1822,7 +1822,7 @@ main(int argc, char **argv)
|
||||
printf("LayerCount: 2\n");
|
||||
printf("Layer: 0 0 \"Back\" 1\n");
|
||||
printf("Layer: 1 0 \"Fore\" 0\n");
|
||||
printf("Encoding: UnicodeBmp\n");
|
||||
printf("Encoding: UnicodeFull\n");
|
||||
printf("NameList: Adobe Glyph List\n");
|
||||
printf("DisplaySize: -24\n");
|
||||
printf("AntiAlias: 1\n");
|
||||
@ -1864,7 +1864,7 @@ main(int argc, char **argv)
|
||||
"['smcp' ('latn' <'dflt'>)]\n");
|
||||
printf("Lookup: 1 0 0 \"c2sc: upper-case to small caps\" {\"c2sc\"} "
|
||||
"['c2sc' ('latn' <'dflt'>)]\n");
|
||||
printf("BeginChars: %d %d\n", 65536 + extraglyphs, nglyphs);
|
||||
printf("BeginChars: %d %d\n", 0x110000 + extraglyphs, nglyphs);
|
||||
extraglyphs = 0;
|
||||
for (i = 0; i < nglyphs; i++) {
|
||||
if (glyphs[i].name)
|
||||
@ -1874,7 +1874,7 @@ main(int argc, char **argv)
|
||||
(unsigned)glyphs[i].unicode);
|
||||
printf("Encoding: %d %d %d\n",
|
||||
glyphs[i].unicode != -1 ? glyphs[i].unicode :
|
||||
65536 + extraglyphs++, glyphs[i].unicode, i);
|
||||
0x110000 + extraglyphs++, glyphs[i].unicode, i);
|
||||
printf("Width: %g\n", (double)(XSIZE * XPIX));
|
||||
if (glyphs[i].flags & (MOS|MOS4))
|
||||
printf("Flags: W\n");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user