4d3e786558c13c7d262af79473f6fb6e8c965a8e
braney
  Fri Nov 8 11:26:56 2024 -0800
add reEncodeFont.c to the GIT archive

diff --git src/lib/reEncodeFont.c src/lib/reEncodeFont.c
new file mode 100644
index 0000000..c797b57
--- /dev/null
+++ src/lib/reEncodeFont.c
@@ -0,0 +1,276 @@
+static char *encodeFont =
+"%!\n"
+"/WinEncoding\n"
+"[\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /space\n"
+"  /exclam\n"
+"  /quotedbl\n"
+"  /numbersign\n"
+"  /dollar\n"
+"  /percent\n"
+"  /ampersand\n"
+"  /quotesingle\n"
+"  /parenleft\n"
+"  /parenright\n"
+"  /asterisk\n"
+"  /plus\n"
+"  /comma\n"
+"  /hyphen\n"
+"  /period\n"
+"  /slash\n"
+"  /zero\n"
+"  /one\n"
+"  /two\n"
+"  /three\n"
+"  /four\n"
+"  /five\n"
+"  /six\n"
+"  /seven\n"
+"  /eight\n"
+"  /nine\n"
+"  /colon\n"
+"  /semicolon\n"
+"  /less\n"
+"  /equal\n"
+"  /greater\n"
+"  /question\n"
+"  /at\n"
+"  /A\n"
+"  /B\n"
+"  /C\n"
+"  /D\n"
+"  /E\n"
+"  /F\n"
+"  /G\n"
+"  /H\n"
+"  /I\n"
+"  /J\n"
+"  /K\n"
+"  /L\n"
+"  /M\n"
+"  /N\n"
+"  /O\n"
+"  /P\n"
+"  /Q\n"
+"  /R\n"
+"  /S\n"
+"  /T\n"
+"  /U\n"
+"  /V\n"
+"  /W\n"
+"  /X\n"
+"  /Y\n"
+"  /Z\n"
+"  /bracketleft\n"
+"  /backslash\n"
+"  /bracketright\n"
+"  /asciicircum\n"
+"  /underscore\n"
+"  /grave\n"
+"  /a\n"
+"  /b\n"
+"  /c\n"
+"  /d\n"
+"  /e\n"
+"  /f\n"
+"  /g\n"
+"  /h\n"
+"  /i\n"
+"  /j\n"
+"  /k\n"
+"  /l\n"
+"  /m\n"
+"  /n\n"
+"  /o\n"
+"  /p\n"
+"  /q\n"
+"  /r\n"
+"  /s\n"
+"  /t\n"
+"  /u\n"
+"  /v\n"
+"  /w\n"
+"  /x\n"
+"  /y\n"
+"  /z\n"
+"  /braceleft\n"
+"  /bar\n"
+"  /braceright\n"
+"  /asciitilde\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /quotesinglbase\n"
+"  /florin\n"
+"  /quotedblbase\n"
+"  /ellipsis\n"
+"  /dagger\n"
+"  /daggerdbl\n"
+"  /circumflex\n"
+"  /perthousand\n"
+"  /Scaron\n"
+"  /guilsinglleft\n"
+"  /OE\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /.notdef\n"
+"  /quoteleft\n"
+"  /quoteright\n"
+"  /quotedblleft\n"
+"  /quotedblright\n"
+"  /bullet\n"
+"  /endash\n"
+"  /emdash\n"
+"  /tilde\n"
+"  /trademark\n"
+"  /scaron\n"
+"  /guilsinglright\n"
+"  /oe\n"
+"  /dotlessi\n"
+"  /.notdef\n"
+"  /Ydieresis\n"
+"  /.notdef\n"
+"  /exclamdown\n"
+"  /cent\n"
+"  /sterling\n"
+"  /currency\n"
+"  /yen\n"
+"  /brokenbar\n"
+"  /section\n"
+"  /dieresis\n"
+"  /copyright\n"
+"  /ordfeminine\n"
+"  /guillemotleft\n"
+"  /logicalnot\n"
+"  /guilsinglright\n"
+"  /registered\n"
+"  /macron\n"
+"  /ring\n"
+"  /plusminus\n"
+"  /twosuperior\n"
+"  /threesuperior\n"
+"  /acute\n"
+"  /mu\n"
+"  /paragraph\n"
+"  /periodcentered\n"
+"  /cedilla\n"
+"  /onesuperior\n"
+"  /ordmasculine\n"
+"  /guillemotright\n"
+"  /onequarter\n"
+"  /onehalf\n"
+"  /threequarters\n"
+"  /questiondown\n"
+"  /Agrave\n"
+"  /Aacute\n"
+"  /Acircumflex\n"
+"  /Atilde\n"
+"  /Adieresis\n"
+"  /Aring\n"
+"  /AE\n"
+"  /Ccedilla\n"
+"  /Egrave\n"
+"  /Eacute\n"
+"  /Ecircumflex\n"
+"  /Edieresis\n"
+"  /Igrave\n"
+"  /Iacute\n"
+"  /Icircumflex\n"
+"  /Idieresis\n"
+"  /Eth\n"
+"  /Ntilde\n"
+"  /Ograve\n"
+"  /Oacute\n"
+"  /Ocircumflex\n"
+"  /Otilde\n"
+"  /Odieresis\n"
+"  /multiply\n"
+"  /Oslash\n"
+"  /Ugrave\n"
+"  /Uacute\n"
+"  /Ucircumflex\n"
+"  /Udieresis\n"
+"  /Yacute\n"
+"  /Thorn\n"
+"  /germandbls\n"
+"  /agrave\n"
+"  /aacute\n"
+"  /acircumflex\n"
+"  /atilde\n"
+"  /adieresis\n"
+"  /aring\n"
+"  /ae\n"
+"  /ccedilla\n"
+"  /egrave\n"
+"  /eacute\n"
+"  /ecircumflex\n"
+"  /edieresis\n"
+"  /igrave\n"
+"  /iacute\n"
+"  /icircumflex\n"
+"  /idieresis\n"
+"  /eth\n"
+"  /ntilde\n"
+"  /ograve\n"
+"  /oacute\n"
+"  /ocircumflex\n"
+"  /otilde\n"
+"  /odieresis\n"
+"  /divide\n"
+"  /oslash\n"
+"  /ugrave\n"
+"  /uacute\n"
+"  /ucircumflex\n"
+"  /udieresis\n"
+"  /yacute\n"
+"  /thorn\n"
+"  /ydieresis\n"
+"]\n"
+"def\n"
+"\n"
+"% This procedure/function re encodes the copy of old font with win encoding\n"
+"% and saves it with a newname\n"
+"/reencodefont           % /NewName /OldName => <<fdict>>\n"
+"{\n"
+"        findfont dup\n"
+"        length dict copy\n"
+"\n"
+"        dup /Encoding WinEncoding put\n"
+"        definefont\n"
+"} bind def\n"
+"\n"
+"\n"
+;