3 << /PageSize [750 900] >> setpagedevice
4 % ------------------------------------------------------------------------------
5 % Utilisation de l'encodage latin1 (utf8 ne peut être utilisé directement).
8 {1 index /FID ne {def} {pop pop} ifelse} forall
9 /Encoding ISOLatin1Encoding def
12 /Temporary exch definefont
14 % ------------------------------------------------------------------------------
15 (svgnames.ps) run %% Utilisation des couleurs SVG
16 0 450 translate %% Déplacement du point origine
17 gsave %% Couleur du fond
18 0 0 moveto 750 0 rlineto 0 900 rlineto -750 0 rlineto
21 % ------------------------------------------------------------------------------
29 % ------------------------------------------------------------------------------
33 % ------------------------------------------------------------------------------
37 /nbr region length def
38 region 0 get aload pop
39 /Y exch def /X exch def
43 /ncount ncount 1 add def
44 region exch get aload pop
45 ncount Pas mod 0 eq nbr ncount sub 0 lt or {
46 /Y exch def /X exch def
52 /disquedict 10 dict def
53 disquedict /mtrx matrix put
63 /Y exch def /X exch def
64 /savematrix mtrx currentmatrix def
65 X Y translate RayonVille dup scale
74 /savematrix mtrx currentmatrix def
76 %% Dimension (largeur) du nom -------------------------
77 /Helvetica-Bold findfont 14 scalefont ISOEncode setfont
78 Ville stringwidth pop /WX exch def
79 %% ----------------------------------------------------
80 Position cos LabelOffset mul /X exch def
81 Position sin LabelOffset mul /Y exch def
88 X WX sub Y 5 sub moveto
92 X WX 2 div sub Y moveto
95 X WX 2 div sub Y 10 sub moveto
99 %% Présentation du nom --------------------------------
100 0.7 setgray Ville show
101 CouleurNom WX neg 0.65 sub 0.65 rmoveto Ville show
102 %% ----------------------------------------------------
107 % ------------------------------------------------------------------------------
111 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Pays (fond) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
112 allemagne { Construction closepath gsave LightGoldenrod fill grestore} forall
113 [hollande france italie suisse tchequie pologne belgique autriche
114 luxembourg liechtenstein danemark] {
115 { Construction closepath gsave MediumSeaGreen fill grestore} forall
118 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Lacs (fond) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
120 { Construction closepath gsave DarkBlue fill grestore} forall
123 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Pays (frontières) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
124 [allemagne hollande france suisse tchequie pologne belgique autriche
125 luxembourg liechtenstein danemark] {
126 { Construction closepath DarkGray stroke } forall
129 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Länder (frontières) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
130 lander { Construction closepath WhiteSmoke 0.5 setlinewidth stroke} forall
132 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Fleuves et rivières %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
133 [rhin saone elbe neckar rhone doubs danube oder saale mosel weser ems main] {
134 { Construction DarkBlue 0.25 setlinewidth stroke} forall
137 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Villes (points) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
138 V_allemagne { PlacePoint gsave DarkRed fill grestore} forall
140 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Villes (points et noms) %%%%%%%%%%%%%%%%%%%%%%%%%
141 /CouleurNom {Orange} def
142 /RayonVille 3 def % Des points un peu plus gros pour les capitales
143 V_allemagne_capitales_lander {
144 PlacePoint gsave YellowGreen fill grestore PlaceNom