Fandom

Scratchpad

Pastebin/User:Ans/show glyph.ps

< Pastebin

215,768pages on
this wiki
Add New Page
Discuss this page0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

A sample postscript page used to show all glyphs of each font, to be used in postscript file that is generated by pdftops tool bundled with xpdf.
%%Page: 0 0
%%BeginPageSetup
%%PageOrientation: Portrait
pdfStartPage
%%EndPageSetup
[] 0 d
1 i
0 j
0 J
10 M
1 w
0 g
0 G
q
q
[0.24 0 0 0.24 0 0] cm
0 G
0 g
q
[4.16667 0 0 4.16667 0 0] cm
[1 0 0 1 0 0] Tm
0 0 Td
% %%%%%
[1 0 0 1 0 825] Tm
/F9_0 17.04 Tf
0 1 15 {
   0 1 index -19 mul Td
   (> > > > > > > > > > > > > > > > )
   %dup 0 1 15 { dup 2 mul 1 add exch put dup } for pop 240 Tj
   %0 1 15 { 1 index exch dup 2 mul 1 add exch put } for 240 Tj
   0 1 15 {
      2 copy 2 mul 1 add % j s i s i*2+1
      2 index 5 index 16 mul add % j s i s i*2+1 i+j*16
      put
   pop } for 240 Tj
pop } for
%-19 0
%0 1 index Td 1 index add
% -5 add
% 0 1 index Td 1 index add
% %(>\020>\021>\022>\023>\024>\025>\026>\027) 120 Tj
% %(>\030>\031>\032>\033>\034>\035>\036>\037) 120 Tj
% %(>\020>\021>\022>\023>\024>\025>\026>\027>\030>\031>\032>\033>\034>\035>\036>\037) 240 Tj
% 0 1 index Td 1 index add
% %(>\040>\041>\042>\043>\044>\045>\046>\047) 120 Tj
% %(>\050>\051>\052>\053>\054>\055>\056>\057) 120 Tj
% %(>\040>\041>\042>\043>\044>\045>\046>\047>\050>\051>\052>\053>\054>\055>\056>\057) 240 Tj
% 0 1 index Td 1 index add
% %(>\060>\061>\062>\063>\064>\065>\066>\067) 120 Tj
% %(>\070>\071>\072>\073>\074>\075>\076>\077) 120 Tj
% (>\060>\061>\062>\063>\064>\065>\066>\067>\070>\071>\072>\073>\074>\075>\076>\077) 240 Tj
% (>\100>\101>\102>\103>\104>\105>\106>\107) 120 Tj
% (>\110>\111>\112>\113>\114>\115>\116>\117) 120 Tj
% (>\120>\121>\122>\123>\124>\125>\126>\127) 120 Tj
% (>\130>\131>\132>\133>\134>\135>\136>\137) 120 Tj
% (>\140>\141>\142>\143>\144>\145>\146>\147) 120 Tj
% (>\150>\151>\152>\153>\154>\155>\156>\157) 120 Tj
% (>\160>\161>\162>\163>\164>\165>\166>\167) 120 Tj
% (>\170>\171>\172>\173>\174>\175>\176>\177) 120 Tj
% (>\200>\201>\202>\203>\204>\205>\206>\207) 120 Tj
% (>\210>\211>\212>\213>\214>\215>\216>\217) 120 Tj
% (>\220>\221>\222>\223>\224>\225>\226>\227) 120 Tj
% (>\230>\231>\232>\233>\234>\235>\236>\237) 120 Tj
% (>\240>\241>\242>\243>\244>\245>\246>\247) 120 Tj
% (>\250>\251>\252>\253>\254>\255>\256>\257) 120 Tj
% (>\260>\261>\262>\263>\264>\265>\266>\267) 120 Tj
% (>\270>\271>\272>\273>\274>\275>\276>\277) 120 Tj
% (>\300>\301>\302>\303>\304>\305>\306>\307) 120 Tj
% (>\310>\311>\312>\313>\314>\315>\316>\317) 120 Tj
% (>\320>\321>\322>\323>\324>\325>\326>\327) 120 Tj
% (>\330>\331>\332>\333>\334>\335>\336>\337) 120 Tj
% (>\340>\341>\342>\343>\344>\345>\346>\347) 120 Tj
% (>\350>\351>\352>\353>\354>\355>\356>\357) 120 Tj
% (>\360>\361>\362>\363>\364>\365>\366>\367) 120 Tj
% (>\370>\371>\372>\373>\374>\375>\376>\377) 120 Tj
/F11_0 17.04 Tf
0 1 15 {
   0 1 index 16 add -19 mul Td
   (- - - - - - - - - - - - - - - - )
   0 1 15 {
      2 copy 2 mul 1 add % j s i s i*2+1
      2 index 5 index 16 mul add % j s i s i*2+1 i+j*16
      put
   pop } for 240 Tj
pop } for
% [1 0 0 1 0 521] Tm 0 0 Td
% (-\000-\001-\002-\003-\004-\005-\006-\007) 120 Tj
% (-\010-\011-\012-\013-\014-\015-\016-\017) 120 Tj
% 0 -19 Td
% (-\020-\021-\022-\023-\024-\025-\026-\027) 120 Tj
% (-\030-\031-\032-\033-\034-\035-\036-\037) 120 Tj
% [1 0 0 1 0 483] Tm 0 0 Td
% (-\040-\041-\042-\043-\044-\045-\046-\047) 120 Tj
% (-\050-\051-\052-\053-\054-\055-\056-\057) 120 Tj
% [1 0 0 1 0 464] Tm 0 0 Td
% (-\060-\061-\062-\063-\064-\065-\066-\067) 120 Tj
% (-\070-\071-\072-\073-\074-\075-\076-\077) 120 Tj
% [1 0 0 1 0 445] Tm 0 0 Td
% (-\100-\101-\102-\103-\104-\105-\106-\107) 120 Tj
% (-\110-\111-\112-\113-\114-\115-\116-\117) 120 Tj
% [1 0 0 1 0 426] Tm 0 0 Td
% (-\120-\121-\122-\123-\124-\125-\126-\127) 120 Tj
% (-\130-\131-\132-\133-\134-\135-\136-\137) 120 Tj
% [1 0 0 1 0 407] Tm 0 0 Td
% (-\140-\141-\142-\143-\144-\145-\146-\147) 120 Tj
% (-\150-\151-\152-\153-\154-\155-\156-\157) 120 Tj
% [1 0 0 1 0 388] Tm 0 0 Td
% (-\160-\161-\162-\163-\164-\165-\166-\167) 120 Tj
% (-\170-\171-\172-\173-\174-\175-\176-\177) 120 Tj
% [1 0 0 1 0 369] Tm 0 0 Td
% (-\200-\201-\202-\203-\204-\205-\206-\207) 120 Tj
% (-\210-\211-\212-\213-\214-\215-\216-\217) 120 Tj
% [1 0 0 1 0 350] Tm 0 0 Td
% (-\220-\221-\222-\223-\224-\225-\226-\227) 120 Tj
% (-\230-\231-\232-\233-\234-\235-\236-\237) 120 Tj
% [1 0 0 1 0 331] Tm 0 0 Td
% (-\240-\241-\242-\243-\244-\245-\246-\247) 120 Tj
% (-\250-\251-\252-\253-\254-\255-\256-\257) 120 Tj
% [1 0 0 1 0 312] Tm 0 0 Td
% (-\260-\261-\262-\263-\264-\265-\266-\267) 120 Tj
% (-\270-\271-\272-\273-\274-\275-\276-\277) 120 Tj
% [1 0 0 1 0 293] Tm 0 0 Td
% (-\300-\301-\302-\303-\304-\305-\306-\307) 120 Tj
% (-\310-\311-\312-\313-\314-\315-\316-\317) 120 Tj
% [1 0 0 1 0 274] Tm 0 0 Td
% (-\320-\321-\322-\323-\324-\325-\326-\327) 120 Tj
% (-\330-\331-\332-\333-\334-\335-\336-\337) 120 Tj
% [1 0 0 1 0 255] Tm 0 0 Td
% (-\340-\341-\342-\343-\344-\345-\346-\347) 120 Tj
% (-\350-\351-\352-\353-\354-\355-\356-\357) 120 Tj
% [1 0 0 1 0 236] Tm 0 0 Td
% (-\360-\361-\362-\363-\364-\365-\366-\367) 120 Tj
% (-\370-\371-\372-\373-\374-\375-\376-\377) 120 Tj
/F13_0 17.04 Tf
0 1 15 {
   300 1 index 0 add -19 mul Td
   (. . . . . . . . . . . . . . . . )
   0 1 15 {
      2 copy 2 mul 1 add % j s i s i*2+1
      2 index 5 index 16 mul add % j s i s i*2+1 i+j*16
      put
   pop } for 240 Tj
pop } for
% %%%%%
Q
Q
Q
showpage
%%PageTrailer
pdfEndPage

Also on Fandom

Random wikia