nyctergatis.com

Contact
Projects

qsave context
Qrestore context
width wset line width
gray gset fill gray
gray Gset line gray
r g b rgset fill color
r g b RGset line color
x y mmove to (x,y)
x y lline to (x,y)
p q r s x y cBézier
hclose path
x y w h readd rect to path
Sstroke path
ffill path
font size Tfset font
(font: /FC /FCo /FCb /FCbo
/FH /FHo /FHb /FHbo /FT
/FTi /FTb /FTbi /FS /FZ
)
BTbegin text
x y Tdmove to (x,y)
(string) Tjdraw string
ETend text

PDFWrapper sandbox

This page lets you enter PDF graphics commands and see the result by wrapping them in a complete PDF file with one A4 page (595 by 842 pt). All PDF commands permitted in a content stream can be used, except those which require external objects such as patterns and non-standard fonts. Standard fonts are named according to the table at the end of this page.

Show PDF source code

Font names

/FCCourier
/FCoCourier Oblique
/FCbCourier Bold
/FCboCourier Bold Oblique
/FHHelvetica
/FHoHelvetica Oblique
/FHbHelvetica Bold
/FHboHelvetica Bold Oblique
/FTTimes Roman
/FTiTimes Italic
/FTbTimes Bold
/FTbiTimes Bold Italic
/FSSymbol
/FZZapf Dingbats
Copyright 2008, Yves Piguet.
All rights reserved.