| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung |
| ps:umlaute_in_ps [2026-04-06 16:26:46] – [Auch in PS eingebetteter Zeichensatz (mit Umlaute, ohne Eurozeichen): Latin1] manfred | ps:umlaute_in_ps [2026-04-06 22:27:18] (aktuell) – manfred |
|---|
| Das Bereitet enorme Schwierigkeiten, wenn man ihm Unicode-Zeichensätze beipulen will... | Das Bereitet enorme Schwierigkeiten, wenn man ihm Unicode-Zeichensätze beipulen will... |
| |
| | Um in PS/PDF-Dokumenten mit Umlauten schreiben zu können, |
| | muss man einen PS-Zeichensatz //(in 8 Bit)// mit Umlauten haben. |
| |
| ===== PS-Standard-Zeichensatz (ohne Umlaute): Adobe-ASCII ===== | |
| | ===== Standard-PS-Zeichensatz (ohne Umlaute): Adobe-ASCII (7 Bit) ===== |
| |
| <code ps Zeichensatz Adobe-ASCII ohne Umlaute und ohne Eurozeichen> | <code ps Zeichensatz Adobe-ASCII ohne Umlaute und ohne Eurozeichen> |
| | %!PS |
| | |
| | %------------------------------------------------------------------------------% |
| | % Schriftarten laden |
| | |
| | /Courier findfont % (wie Courier) Schriftart mit fester Breite |
| | /Courier-Oblique findfont % (wie Courier-Oblique) Schriftart mit fester Breite in Kursiv |
| | /Courier-Bold findfont % (wie Courier-Bold) Schriftart mit fester Breite in Fett |
| | /Courier-BoldOblique findfont % (wie Courier-BoldOblique) Schriftart mit fester Breite in Fett und Kursiv |
| | /Helvetica findfont % (wie Helvetica) Schriftart in voller Größe |
| | /Helvetica-Oblique findfont % (wie Helvetica-Oblique) Schriftart in voller Größe in Kursiv |
| | /Helvetica-Bold findfont % (wie Helvetica-Bold) Schriftart in voller Größe in Fett |
| | /Helvetica-BoldOblique findfont % (wie Helvetica-BoldOblique) Schriftart in voller Größe in Fett und Kursiv |
| | /Helvetica-Narrow findfont % (wie Helvetica-Narrow) schlanke Schriftart in voller Größe |
| | /Helvetica-Narrow-Oblique findfont % (wie Helvetica-Narrow-Oblique) schlanke Schriftart in voller Größe in Kursiv |
| | /Helvetica-Narrow-Bold findfont % (wie Helvetica-Narrow-Bold) schlanke Schriftart in voller Größe in Fett |
| | /Helvetica-Narrow-BoldOblique findfont % (wie Helvetica-Narrow-BoldOblique) schlanke Schriftart in voller Größe in Fett und Kursiv |
| | /NewCenturySchlbk-Roman findfont % (wie New Century Schoolbook Roman) eine Serifenschrift im Stil klassischer Buch- und Lehrbuchschriften |
| | /Times-Roman findfont % (wie Times-Roman) Schriftart etwas kleiner mit Serifen |
| | /Times-Italic findfont % (wie Times-Italic) Schriftart etwas kleiner mit Serifen in Kursiv |
| | /Times-Bold findfont % (wie Times-Bold) Schriftart etwas kleiner mit Serifen in Fett |
| | /Times-BoldItalic findfont % (wie Times-BoldItalic) Schriftart etwas kleiner mit Serifen in Fett und Kursiv |
| | |
| | 10 scalefont setfont % Schriftgröße |
| | |
| | %------------------------------------------------------------------------------% |
| | % Schriftart auswählen und Schriftgröße bestimmen |
| | |
| | /NewCenturySchlbk-Roman 14 selectfont |
| | |
| | %------------------------------------------------------------------------------% |
| | newpath % neue Zeichnung beginnen |
| | |
| | .3 setlinewidth % Linienbreite |
| | |
| | %------------------------------------------------------------------------------% |
| | |
| | 90 130 moveto % zur Startposition der Ausgabe gehen |
| | (Zeichensatz Adobe-ASCII ohne Umlaute und ohne Eurozeichen) show |
| | 90 110 moveto % zur Startposition der Ausgabe gehen |
| | (Umlaute: Ää Öö Üü) show % Umlaute |
| | 90 90 moveto % zur Startposition der Ausgabe gehen |
| | (Sonderzeichen: & ß € µ é è ¹ ² ³ ¼ ½) show % Sonderzeichen |
| | |
| | %------------------------------------------------------------------------------% |
| | closepath % diese Zeichnung beenden |
| | stroke % alle aufgeführten Zeichenkomandos jetzt zeichnen |
| </code> | </code> |
| |
| <code bash> | <code bash> |
| | > cat ps-test_ASCII.ps | iconv -f UTF-8 -t ASCII | magick -page a4 -colorspace RGB - ps-test_ASCII.png |
| </code> | </code> |
| |
| | {{ :ps:ps-test_ascii.png?200 |Standard-PS-Zeichensatz (ohne Umlaute): Adobe-ASCII (7 Bit)}} |
| |
| ===== Auch in PS eingebetteter Zeichensatz (mit Umlaute, ohne Eurozeichen): Latin1 ===== | |
| | ===== Auch in PS eingebetteter Zeichensatz (mit Umlaute, ohne Eurozeichen): ISO-8859-1 (8 Bit) ===== |
| |
| <code ps Zeichensatz Latin1 mit Umlaute aber ohne Eurozeichen> | <code ps Zeichensatz Latin1 mit Umlaute aber ohne Eurozeichen> |
| | %!PS |
| | |
| | %------------------------------------------------------------------------------% |
| | % Latin-1 und ISO-8859-1 sind im Wesentlichen dasselbe Zeichensatz-Mapping. |
| | % Der Begriff "Latin-1" ist ein umgangssprachlicher Name für den |
| | % standardisierten ISO/IEC 8859-1. |
| | %------------------------------------------------------------------------------% |
| | % Verlatinisierung |
| | |
| | /latinize { |
| | findfont |
| | dup length dict begin |
| | {1 index /FID ne {def} {pop pop} ifelse} forall |
| | /Encoding ISOLatin1Encoding def |
| | currentdict |
| | end |
| | definefont pop |
| | } bind def |
| | |
| | /Courier-Latin1 /Courier latinize |
| | /Courier-Oblique-Latin1 /Courier-Oblique latinize |
| | /Courier-Bold-Latin1 /Courier-Bold latinize |
| | /Courier-BoldOblique-Latin1 /Courier-BoldOblique latinize |
| | /Helvetica-Latin1 /Helvetica latinize |
| | /Helvetica-Oblique-Latin1 /Helvetica-Oblique latinize |
| | /Helvetica-Bold-Latin1 /Helvetica-Bold latinize |
| | /Helvetica-BoldOblique-Latin1 /Helvetica-BoldOblique latinize |
| | /Helvetica-Narrow-Latin1 /Helvetica-Narrow latinize |
| | /Helvetica-Narrow-Oblique-Latin1 /Helvetica-Narrow-Oblique latinize |
| | /Helvetica-Narrow-Bold-Latin1 /Helvetica-Narrow-Bold latinize |
| | /Helvetica-Narrow-BoldOblique-Latin1 /Helvetica-Narrow-BoldOblique latinize |
| | /NewCenturySchlbk-Roman-Latin1 /NewCenturySchlbk-Roman latinize |
| | /Times-Roman-Latin1 /Times-Roman latinize |
| | /Times-Italic-Latin1 /Times-Italic latinize |
| | /Times-Bold-Latin1 /Times-Bold latinize |
| | /Times-BoldItalic-Latin1 /Times-BoldItalic latinize |
| | |
| | %------------------------------------------------------------------------------% |
| | % Schriftarten laden |
| | |
| | /Courier-Latin1 findfont % (wie Courier) Schriftart mit fester Breite |
| | /Courier-Oblique-Latin1 findfont % (wie Courier-Oblique) Schriftart mit fester Breite in Kursiv |
| | /Courier-Bold-Latin1 findfont % (wie Courier-Bold) Schriftart mit fester Breite in Fett |
| | /Courier-BoldOblique-Latin1 findfont % (wie Courier-BoldOblique) Schriftart mit fester Breite in Fett und Kursiv |
| | /Helvetica-Latin1 findfont % (wie Helvetica) Schriftart in voller Größe |
| | /Helvetica-Oblique-Latin1 findfont % (wie Helvetica-Oblique) Schriftart in voller Größe in Kursiv |
| | /Helvetica-Bold-Latin1 findfont % (wie Helvetica-Bold) Schriftart in voller Größe in Fett |
| | /Helvetica-BoldOblique-Latin1 findfont % (wie Helvetica-BoldOblique) Schriftart in voller Größe in Fett und Kursiv |
| | /Helvetica-Narrow-Latin1 findfont % (wie Helvetica-Narrow) schlanke Schriftart in voller Größe |
| | /Helvetica-Narrow-Oblique-Latin1 findfont % (wie Helvetica-Narrow-Oblique) schlanke Schriftart in voller Größe in Kursiv |
| | /Helvetica-Narrow-Bold-Latin1 findfont % (wie Helvetica-Narrow-Bold) schlanke Schriftart in voller Größe in Fett |
| | /Helvetica-Narrow-BoldOblique-Latin1 findfont % (wie Helvetica-Narrow-BoldOblique) schlanke Schriftart in voller Größe in Fett und Kursiv |
| | /NewCenturySchlbk-Roman-Latin1 findfont % (wie New Century Schoolbook Roman) eine Serifenschrift im Stil klassischer Buch- und Lehrbuchschriften |
| | /Times-Roman-Latin1 findfont % (wie Times-Roman) Schriftart etwas kleiner mit Serifen |
| | /Times-Italic-Latin1 findfont % (wie Times-Italic) Schriftart etwas kleiner mit Serifen in Kursiv |
| | /Times-Bold-Latin1 findfont % (wie Times-Bold) Schriftart etwas kleiner mit Serifen in Fett |
| | /Times-BoldItalic-Latin1 findfont % (wie Times-BoldItalic) Schriftart etwas kleiner mit Serifen in Fett und Kursiv |
| | |
| | %------------------------------------------------------------------------------% |
| | % Schriftart auswählen und Schriftgröße bestimmen |
| | |
| | /NewCenturySchlbk-Roman-Latin1 14 selectfont |
| | |
| | %------------------------------------------------------------------------------% |
| | newpath % neue Zeichnung beginnen |
| | |
| | .3 setlinewidth % Linienbreite |
| | %------------------------------------------------------------------------------% |
| | |
| | 90 130 moveto % zur Startposition der Ausgabe gehen |
| | (Zeichensatz Latin1 mit Umlaute aber ohne Eurozeichen) show |
| | 90 110 moveto % zur Startposition der Ausgabe gehen |
| | (Umlaute: Ää Öö Üü) show % Umlaute |
| | 90 90 moveto % zur Startposition der Ausgabe gehen |
| | (Sonderzeichen: & ß € µ é è ¹ ² ³ ¼ ½) show % Sonderzeichen |
| | |
| | %------------------------------------------------------------------------------% |
| | closepath % diese Zeichnung beenden |
| | stroke % alle aufgeführten Zeichenkomandos jetzt zeichnen |
| </code> | </code> |
| |
| <code bash> | <code bash> |
| | > cat ps-test_Latin-1.ps | iconv -f UTF-8 -t ISO-8859-1 | magick -page a4 -colorspace RGB - ps-test_Latin-1.png |
| </code> | </code> |
| |
| | {{ :ps:ps-test_latin-1.png?200 |Zeichensatz (mit Umlaute, ohne Eurozeichen): ISO-8859-1 (8 Bit)}} |
| |
| ===== Externer Zeichensatz (mit Umlaute, mit Eurozeichen): ISO-1252 ===== | |
| |
| Um in PS/PDF-Dokumenten mit Umlauten schreiben zu können, | ===== Externer Zeichensatz (mit Umlaute, mit Eurozeichen): CP1252 (8 Bit) ===== |
| muss man einen PS-Zeichensatz mit Umlauten haben. | |
| |
| __Damit man hiermit auch Umlaute darstellen kann ist es zwingend erforderlich, | __Damit man hiermit auch Umlaute darstellen kann ist es zwingend erforderlich, |
| dass die PS-Datei im gleichen Zeichensatz abgespeichert wird, wie der ist, den wir mit Umlauten haben!__ | dass die PS-Datei im gleichen Zeichensatz abgespeichert wird, wie der ist, den wir mit Umlauten haben!__ |
| In diesem Fall habe ich den Zeichensatz **''WINDOWS-1252''** (''ISO-1252''). | In diesem Fall habe ich den Zeichensatz **''CP1252''** (''WINDOWS-1252''). |
| Er wurde seinerzeit von //OpenOffice.org 1.0.3// verwendet, um Daten dem Drucker zu übergeben. | Er wurde seinerzeit von //OpenOffice.org 1.0.3// verwendet, um Daten dem Drucker zu übergeben. |
| |
| [user@rechner ~]$ vim Test.ps | [user@rechner ~]$ vim Test.ps |
| | |
| # die PS-Datei vom üblichen UTF-8-Encoding (Linux) ins WINDOWS-1252-Encoding überführen und direkt an ImageMagick übergeben: | # die PS-Datei vom üblichen UTF-8-Encoding (Linux) ins CP1252-Encoding überführen und direkt an ImageMagick übergeben: |
| [user@rechner ~]$ cat Test.ps | iconv -f UTF-8 -t WINDOWS-1252 | | [user@rechner ~]$ cat Test.ps | iconv -f UTF-8 -t CP1252 | |
| | |
| # die neue PS-Datei einmal in das PDF-Format (Dokument) und einmal in das PNG-Format (Bild) umwandeln: | # die neue PS-Datei einmal in das PDF-Format (Dokument) und einmal in das PNG-Format (Bild) umwandeln: |
| [user@rechner ~]$ cat Test.ps | iconv -f UTF-8 -t WINDOWS-1252 | magick -gravity SouthWest -colorspace RGB -quality 100 - Test.pdf | [user@rechner ~]$ cat Test.ps | iconv -f UTF-8 -t CP1252 | magick -gravity SouthWest -colorspace RGB -quality 100 - Test.pdf |
| [user@rechner ~]$ cat Test.ps | iconv -f UTF-8 -t WINDOWS-1252 | magick -gravity SouthWest -colorspace RGB -quality 100 - Test.png | [user@rechner ~]$ cat Test.ps | iconv -f UTF-8 -t CP1252 | magick -gravity SouthWest -colorspace RGB -quality 100 - Test.png |
| |
| Ggf. kann man die PS-Datei auch im grafischen Editor ''GEdit'' schreiben/erstellen, denn hier kann man für die PS-Datei, beim abspeichern, das gewünschte Encoding auswählen. | Ggf. kann man die PS-Datei auch im grafischen Editor ''GEdit'' schreiben/erstellen, denn hier kann man für die PS-Datei, beim abspeichern, das gewünschte Encoding auswählen. |
| So spart man sich den Umwandlungsschritt mit ''iconv''. | So spart man sich den Umwandlungsschritt mit ''iconv''. |
| |
| Hier der besagte PS-Zeichensatz mit Umlauten und Sonderzeichen: | <code ps Zeichensatz CP1252 mit Umlaute und mit Eurozeichen> |
| <code ps Zeichensatz ISO-1252 mit Umlaute und mit Eurozeichen> | %!PS |
| %!PS-Adobe 3.0 | |
| | %------------------------------------------------------------------------------% |
| | % Latin-1 und ISO-8859-1 sind im Wesentlichen dasselbe Zeichensatz-Mapping. |
| | % Der Begriff "Latin-1" ist ein umgangssprachlicher Name für den |
| | % standardisierten ISO/IEC 8859-1. |
| | % |
| | % HTML5 schreibt vor: Als ISO-8859-1 deklarierte Seiten als Windows-1252 zu lesen. |
| | %------------------------------------------------------------------------------% |
| | % CP1252Encoding |
| |
| %%BeginProlog (OpenOffice.org 1.0.3) | %%BeginProlog (OpenOffice.org 1.0.3) |
| /ISO1252Encoding [ | /CP1252Encoding [ |
| /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef | /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef |
| /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef | /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef |
| /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide | /eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide |
| /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] def | /oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis] def |
| | |
| /psp_definefont { exch dup findfont dup length dict begin { 1 index /FID ne | /psp_definefont { exch dup findfont dup length dict begin { 1 index /FID ne |
| { def } { pop pop } ifelse } forall /Encoding 3 -1 roll def | { def } { pop pop } ifelse } forall /Encoding 3 -1 roll def |
| currentdict end exch pop definefont pop } def | currentdict end exch pop definefont pop } def |
| | |
| /pathdict dup 8 dict def load begin | /pathdict dup 8 dict def load begin |
| /rcmd { { currentfile 1 string readstring pop 0 get dup 32 gt { exit } | /rcmd { { currentfile 1 string readstring pop 0 get dup 32 gt { exit } |
| 1 index 1 index 5 -1 roll { moveto } { lineto } ifelse } def end | 1 index 1 index 5 -1 roll { moveto } { lineto } ifelse } def end |
| /readpath { 0 0 pathdict begin { xcmd } loop end pop pop } def | /readpath { 0 0 pathdict begin { xcmd } loop end pop pop } def |
| | |
| systemdict /languagelevel known not { | systemdict /languagelevel known not { |
| /xshow { exch dup length 0 1 3 -1 roll 1 sub { dup 3 index exch get | /xshow { exch dup length 0 1 3 -1 roll 1 sub { dup 3 index exch get |
| /rectfill { rectangle fill } def | /rectfill { rectangle fill } def |
| /rectstroke { rectangle stroke } def } if | /rectstroke { rectangle stroke } def } if |
| | |
| /psp_lzwfilter { currentfile /ASCII85Decode filter /LZWDecode filter } def | /psp_lzwfilter { currentfile /ASCII85Decode filter /LZWDecode filter } def |
| /psp_ascii85filter { currentfile /ASCII85Decode filter } def | /psp_ascii85filter { currentfile /ASCII85Decode filter } def |
| } def | } def |
| %%EndProlog (OpenOffice.org 1.0.3) | %%EndProlog (OpenOffice.org 1.0.3) |
| | |
| | /URWGothicL-Book-cp1252 /URWGothicL-Book CP1252Encoding psp_definefont |
| | /URWGothicL-Demi-cp1252 /URWGothicL-Demi CP1252Encoding psp_definefont |
| | /URWGothicL-BookObli-cp1252 /URWGothicL-BookObli CP1252Encoding psp_definefont |
| | /URWGothicL-DemiObli-cp1252 /URWGothicL-DemiObli CP1252Encoding psp_definefont |
| | /URWBookmanL-Ligh-cp1252 /URWBookmanL-Ligh CP1252Encoding psp_definefont |
| | /URWBookmanL-DemiBold-cp1252 /URWBookmanL-DemiBold CP1252Encoding psp_definefont |
| | /URWBookmanL-LighItal-cp1252 /URWBookmanL-LighItal CP1252Encoding psp_definefont |
| | /URWBookmanL-DemiBoldItal-cp1252 /URWBookmanL-DemiBoldItal CP1252Encoding psp_definefont |
| | /CharterBT-Bold-cp1252 /CharterBT-Bold CP1252Encoding psp_definefont |
| | /CharterBT-BoldItalic-cp1252 /CharterBT-BoldItalic CP1252Encoding psp_definefont |
| | /CharterBT-Roman-cp1252 /CharterBT-Roman CP1252Encoding psp_definefont |
| | /CharterBT-Italic-cp1252 /CharterBT-Italic CP1252Encoding psp_definefont |
| | /CenturySchL-Roma-cp1252 /CenturySchL-Roma CP1252Encoding psp_definefont |
| | /CenturySchL-Bold-cp1252 /CenturySchL-Bold CP1252Encoding psp_definefont |
| | /CenturySchL-Ital-cp1252 /CenturySchL-Ital CP1252Encoding psp_definefont |
| | /CenturySchL-BoldItal-cp1252 /CenturySchL-BoldItal CP1252Encoding psp_definefont |
| | /NimbusSanL-Regu-cp1252 /NimbusSanL-Regu CP1252Encoding psp_definefont |
| | /NimbusSanL-Bold-cp1252 /NimbusSanL-Bold CP1252Encoding psp_definefont |
| | /NimbusSanL-ReguItal-cp1252 /NimbusSanL-ReguItal CP1252Encoding psp_definefont |
| | /NimbusSanL-BoldItal-cp1252 /NimbusSanL-BoldItal CP1252Encoding psp_definefont |
| | /NimbusSanL-ReguCond-cp1252 /NimbusSanL-ReguCond CP1252Encoding psp_definefont |
| | /NimbusSanL-BoldCond-cp1252 /NimbusSanL-BoldCond CP1252Encoding psp_definefont |
| | /NimbusSanL-ReguCondItal-cp1252 /NimbusSanL-ReguCondItal CP1252Encoding psp_definefont |
| | /NimbusSanL-BoldCondItal-cp1252 /NimbusSanL-BoldCondItal CP1252Encoding psp_definefont |
| | /NimbusRomNo9L-Regu-cp1252 /NimbusRomNo9L-Regu CP1252Encoding psp_definefont |
| | /NimbusRomNo9L-Medi-cp1252 /NimbusRomNo9L-Medi CP1252Encoding psp_definefont |
| | /NimbusRomNo9L-ReguItal-cp1252 /NimbusRomNo9L-ReguItal CP1252Encoding psp_definefont |
| | /NimbusRomNo9L-MediItal-cp1252 /NimbusRomNo9L-MediItal CP1252Encoding psp_definefont |
| | /NimbusMonL-Regu-cp1252 /NimbusMonL-Regu CP1252Encoding psp_definefont |
| | /NimbusMonL-Bold-cp1252 /NimbusMonL-Bold CP1252Encoding psp_definefont |
| | /NimbusMonL-ReguObli-cp1252 /NimbusMonL-ReguObli CP1252Encoding psp_definefont |
| | /NimbusMonL-BoldObli-cp1252 /NimbusMonL-BoldObli CP1252Encoding psp_definefont |
| | /URWPalladioL-Roma-cp1252 /URWPalladioL-Roma CP1252Encoding psp_definefont |
| | /URWPalladioL-Bold-cp1252 /URWPalladioL-Bold CP1252Encoding psp_definefont |
| | /URWPalladioL-Ital-cp1252 /URWPalladioL-Ital CP1252Encoding psp_definefont |
| | /URWPalladioL-BoldItal-cp1252 /URWPalladioL-BoldItal CP1252Encoding psp_definefont |
| | /URWAntiquaT-RegularCondensed-cp1252 /URWAntiquaT-RegularCondensed CP1252Encoding psp_definefont |
| | /URWGroteskT-Bold-cp1252 /URWGroteskT-Bold CP1252Encoding psp_definefont |
| | /URWChanceryL-MediItal-cp1252 /URWChanceryL-MediItal CP1252Encoding psp_definefont |
| | |
| | /Times-Bold-cp1252 /Times-Bold CP1252Encoding psp_definefont |
| | /Times-BoldItalic-cp1252 /Times-BoldItalic CP1252Encoding psp_definefont |
| | /Times-Italic-cp1252 /Times-Italic CP1252Encoding psp_definefont |
| | /Times-Roman-cp1252 /Times-Roman CP1252Encoding psp_definefont |
| | /Helvetica-cp1252 /Helvetica CP1252Encoding psp_definefont |
| | /Helvetica-Bold-cp1252 /Helvetica-Bold CP1252Encoding psp_definefont |
| | /Helvetica-Oblique-cp1252 /Helvetica-Oblique CP1252Encoding psp_definefont |
| | /Courier-cp1252 /Courier CP1252Encoding psp_definefont |
| | /Courier-Bold-cp1252 /Courier-Bold CP1252Encoding psp_definefont |
| | /Courier-BoldOblique-cp1252 /Courier-BoldOblique CP1252Encoding psp_definefont |
| | /Courier-Oblique-cp1252 /Courier-Oblique CP1252Encoding psp_definefont |
| |
| /URWGothicL-Book-iso1252 /URWGothicL-Book ISO1252Encoding psp_definefont | %------------------------------------------------------------------------------% |
| /URWGothicL-Demi-iso1252 /URWGothicL-Demi ISO1252Encoding psp_definefont | % Schriftart auswählen und Schriftgröße bestimmen |
| /URWGothicL-BookObli-iso1252 /URWGothicL-BookObli ISO1252Encoding psp_definefont | |
| /URWGothicL-DemiObli-iso1252 /URWGothicL-DemiObli ISO1252Encoding psp_definefont | |
| /URWBookmanL-Ligh-iso1252 /URWBookmanL-Ligh ISO1252Encoding psp_definefont | |
| /URWBookmanL-DemiBold-iso1252 /URWBookmanL-DemiBold ISO1252Encoding psp_definefont | |
| /URWBookmanL-LighItal-iso1252 /URWBookmanL-LighItal ISO1252Encoding psp_definefont | |
| /URWBookmanL-DemiBoldItal-iso1252 /URWBookmanL-DemiBoldItal ISO1252Encoding psp_definefont | |
| /CharterBT-Bold-iso1252 /CharterBT-Bold ISO1252Encoding psp_definefont | |
| /CharterBT-BoldItalic-iso1252 /CharterBT-BoldItalic ISO1252Encoding psp_definefont | |
| /CharterBT-Roman-iso1252 /CharterBT-Roman ISO1252Encoding psp_definefont | |
| /CharterBT-Italic-iso1252 /CharterBT-Italic ISO1252Encoding psp_definefont | |
| /CenturySchL-Roma-iso1252 /CenturySchL-Roma ISO1252Encoding psp_definefont | |
| /CenturySchL-Bold-iso1252 /CenturySchL-Bold ISO1252Encoding psp_definefont | |
| /CenturySchL-Ital-iso1252 /CenturySchL-Ital ISO1252Encoding psp_definefont | |
| /CenturySchL-BoldItal-iso1252 /CenturySchL-BoldItal ISO1252Encoding psp_definefont | |
| /NimbusSanL-Regu-iso1252 /NimbusSanL-Regu ISO1252Encoding psp_definefont | |
| /NimbusSanL-Bold-iso1252 /NimbusSanL-Bold ISO1252Encoding psp_definefont | |
| /NimbusSanL-ReguItal-iso1252 /NimbusSanL-ReguItal ISO1252Encoding psp_definefont | |
| /NimbusSanL-BoldItal-iso1252 /NimbusSanL-BoldItal ISO1252Encoding psp_definefont | |
| /NimbusSanL-ReguCond-iso1252 /NimbusSanL-ReguCond ISO1252Encoding psp_definefont | |
| /NimbusSanL-BoldCond-iso1252 /NimbusSanL-BoldCond ISO1252Encoding psp_definefont | |
| /NimbusSanL-ReguCondItal-iso1252 /NimbusSanL-ReguCondItal ISO1252Encoding psp_definefont | |
| /NimbusSanL-BoldCondItal-iso1252 /NimbusSanL-BoldCondItal ISO1252Encoding psp_definefont | |
| /NimbusRomNo9L-Regu-iso1252 /NimbusRomNo9L-Regu ISO1252Encoding psp_definefont | |
| /NimbusRomNo9L-Medi-iso1252 /NimbusRomNo9L-Medi ISO1252Encoding psp_definefont | |
| /NimbusRomNo9L-ReguItal-iso1252 /NimbusRomNo9L-ReguItal ISO1252Encoding psp_definefont | |
| /NimbusRomNo9L-MediItal-iso1252 /NimbusRomNo9L-MediItal ISO1252Encoding psp_definefont | |
| /NimbusMonL-Regu-iso1252 /NimbusMonL-Regu ISO1252Encoding psp_definefont | |
| /NimbusMonL-Bold-iso1252 /NimbusMonL-Bold ISO1252Encoding psp_definefont | |
| /NimbusMonL-ReguObli-iso1252 /NimbusMonL-ReguObli ISO1252Encoding psp_definefont | |
| /NimbusMonL-BoldObli-iso1252 /NimbusMonL-BoldObli ISO1252Encoding psp_definefont | |
| /URWPalladioL-Roma-iso1252 /URWPalladioL-Roma ISO1252Encoding psp_definefont | |
| /URWPalladioL-Bold-iso1252 /URWPalladioL-Bold ISO1252Encoding psp_definefont | |
| /URWPalladioL-Ital-iso1252 /URWPalladioL-Ital ISO1252Encoding psp_definefont | |
| /URWPalladioL-BoldItal-iso1252 /URWPalladioL-BoldItal ISO1252Encoding psp_definefont | |
| /URWAntiquaT-RegularCondensed-iso1252 /URWAntiquaT-RegularCondensed ISO1252Encoding psp_definefont | |
| /URWGroteskT-Bold-iso1252 /URWGroteskT-Bold ISO1252Encoding psp_definefont | |
| /URWChanceryL-MediItal-iso1252 /URWChanceryL-MediItal ISO1252Encoding psp_definefont | |
| |
| /Times-Bold-iso1252 /Times-Bold ISO1252Encoding psp_definefont | /Helvetica-cp1252 14 selectfont |
| /Times-BoldItalic-iso1252 /Times-BoldItalic ISO1252Encoding psp_definefont | |
| /Times-Italic-iso1252 /Times-Italic ISO1252Encoding psp_definefont | |
| /Times-Roman-iso1252 /Times-Roman ISO1252Encoding psp_definefont | |
| /Helvetica-iso1252 /Helvetica ISO1252Encoding psp_definefont | |
| /Helvetica-Bold-iso1252 /Helvetica-Bold ISO1252Encoding psp_definefont | |
| /Helvetica-Oblique-iso1252 /Helvetica-Oblique ISO1252Encoding psp_definefont | |
| /Courier-iso1252 /Courier ISO1252Encoding psp_definefont | |
| /Courier-Bold-iso1252 /Courier-Bold ISO1252Encoding psp_definefont | |
| /Courier-BoldOblique-iso1252 /Courier-BoldOblique ISO1252Encoding psp_definefont | |
| /Courier-Oblique-iso1252 /Courier-Oblique ISO1252Encoding psp_definefont | |
| |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | %------------------------------------------------------------------------------% |
| | newpath % neue Zeichnung beginnen |
| | |
| | .3 setlinewidth % Linienbreite |
| | %------------------------------------------------------------------------------% |
| | |
| | 90 130 moveto % zur Startposition der Ausgabe gehen |
| | (Zeichensatz cp1252 mit Umlaute und mit Eurozeichen) show |
| | 90 110 moveto % zur Startposition der Ausgabe gehen |
| | (Umlaute: Ää Öö Üü) show % Umlaute |
| | 90 90 moveto % zur Startposition der Ausgabe gehen |
| | (Sonderzeichen: & ß € µ é è ¹ ² ³ ¼ ½) show % Sonderzeichen |
| | |
| | %------------------------------------------------------------------------------% |
| | closepath % diese Zeichnung beenden |
| | stroke % alle aufgeführten Zeichenkomandos jetzt zeichnen |
| | </code> |
| |
| /Helvetica-iso1252 findfont % Schriftart in voller Größe | <code bash> |
| %/Times-Roman-iso1252 findfont % Schriftart etwas kleiner mit Serifen | > cat ps-test_Windows.ps | iconv -f UTF-8 -t WINDOWS-1252 | magick -page a4 -colorspace RGB - ps-test_Windows.png |
| %/Courier-iso1252 findfont % Schriftart mit fester Breite | |
| %/Courier-Oblique-iso1252 findfont % Schriftart mit fester Breite in Kursiv | |
| | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| | |
| ... | |
| </code> | </code> |
| | |
| | {{ :ps:ps-test_cp1252.png?200 |Zeichensatz (mit Umlaute, mit Eurozeichen): CP1252 (8 Bit)}} |
| |
| |