view ueda/uschem-print/transfont.ps @ 61:ff1d565d233c

pads2gpcb: handle dummy decals with no pins (found in the E-Sample PCB)
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 31 Jan 2016 05:02:49 +0000
parents cd92449fdb51
children
line wrap: on
line source

%!PS-Adobe-3.0 Resource-ProcSet
%%LanguageLevel: 2
%%BeginResource: procset (Procedure for recoding fonts to ISOLatin1Encoding on the fly) 1.0 0
currentglobal true setglobal
/transfontdict 20 dict def
/transfont {
	dup //transfontdict exch known {
		//transfontdict exch get
	} {
		currentglobal exch true setglobal
		dup
		findfont dup length dict begin
			{1 index /FID ne {def} {pop pop} ifelse} forall
			/Encoding //ISOLatin1Encoding def
		currentdict end
		/transfont-dummy-fontname exch definefont
		//transfontdict 2 index 2 index put
		exch pop
		exch setglobal
	} ifelse
} bind def
setglobal
%%EndResource