/usr/lib/ruby/vendor_ruby/Tioga/MarkerConstants.rb is in ruby-tioga 1.14-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 | module Tioga
# = PDF Fonts
#
# Text is normally sent to TeX, allowing you to use any font that can be accessed from your TeX documents.
# However, in certain special cases you may need to use text in a "graphical" manner and have it processed directly in the
# PDF output. In that case, tioga needs to have metric information for the font (in the form of an "afm" file), and any
# output device needs to have access to the font definitions. Providing a general solution to this is still a bit messy, and for the
# expected use in tioga, I decided that it wasn't worth it. All PDF devices are guaranteed to have the 14 standard Adobe
# fonts, so they are easy to provide -- and that's what I've done.
#
# Here are the abc's of the PDF fonts, clockwise from the top: Times_Roman, Times_Italic, Times_Bold, Times_BoldItalic, Helvetica, Helvetica_Oblique, Helvetica_Bold, Helvetica_BoldOblique, Courier, Courier_Oblique, Courier_Bold, Courier_BoldOblique, Symbol, and ZapfDingbats.
#
# link:images/pdf_fonts.png
#
# ---
#
# = Markers
#
# Any character from any of the PDF fonts can be used as a marker.
# The predefined marker names are provided as a convenience, not as an exhaustive list. Markers are specified by
# either a font number and character code (for filled characters), or by a font number, character code, and line
# width (for stroked characters). In the following figure many of the markers appear in both a filled form, such
# as 'Arrow', and a stroked form, such as 'ArrowOpen'. The color of filled markers is determined by the current
# setting of fill_color, and, similarly, stroke_color determines the color of stroked markers.
#
# link:images/Marker_Names.png
#
# Here is the full set of options from the ZapfDingbats font. If you would like to use the jet plane as a marker,
# just write [ ZapfDingbats, 40 ] where you would have used one of the predefined marker names.
#
# link:images/dingbats.png
#
module MarkerConstants
Times_Roman = 1
Times_Italic = 2
Times_Bold = 3
Times_BoldItalic = 4
Helvetica = 5
Helvetica_Oblique = 6
Helvetica_Bold = 7
Helvetica_BoldOblique = 8
Courier = 9
Courier_Oblique = 10
Courier_Bold = 11
Courier_BoldOblique = 12
Symbol = 13
ZapfDingbats = 14
Arrow = [ZapfDingbats, 0334]
Arrowhead = [ZapfDingbats, 0344]
Asterisk = [ZapfDingbats, 0135]
Bar = [ZapfDingbats, 0171]
BarThick = [ZapfDingbats, 0172]
BarThin = [ZapfDingbats, 0170]
Box = [ZapfDingbats, 0156]
Bullet = [ZapfDingbats, 0154]
Check = [ZapfDingbats, 0064]
Circle = [ZapfDingbats, 0154]
Club = [ZapfDingbats, 0250]
Cross = [ZapfDingbats, 0072]
Diamond = [ZapfDingbats, 0251]
Semicircle = [ZapfDingbats, 0167]
Heart = [ZapfDingbats, 0252]
HeartWide = [ZapfDingbats, 0244]
Spade = [ZapfDingbats, 0253]
Square = [ZapfDingbats, 0156]
Star = [ZapfDingbats, 0110]
TriangleDown = [ZapfDingbats, 0164]
TriangleUp = [ZapfDingbats, 0163]
Plus = [ZapfDingbats, 0072]
Times = [ZapfDingbats, 0066]
ArrowOpen = [ZapfDingbats, 0334, 0.5]
ArrowheadOpen = [ZapfDingbats, 0344, 0.5]
AsteriskOpen = [ZapfDingbats, 0135, 0.5]
BarOpen = [ZapfDingbats, 0172, 0.5]
BarThickOpen = [ZapfDingbats, 0172, 0.5]
BarThinOpen = [ZapfDingbats, 0170, 0.5]
BoxOpen = [ZapfDingbats, 0156, 0.5]
BulletOpen = [ZapfDingbats, 0154, 0.5]
CheckOpen = [ZapfDingbats, 0064, 0.5]
CircleOpen = [ZapfDingbats, 0154, 0.5]
ClubOpen = [ZapfDingbats, 0250, 0.5]
DiamondOpen = [ZapfDingbats, 0251, 0.5]
SemicircleOpen = [ZapfDingbats, 0167, 0.5]
HeartOpen = [ZapfDingbats, 0252, 0.5]
HeartWideOpen = [ZapfDingbats, 0244, 0.5]
SpadeOpen = [ZapfDingbats, 0253, 0.5]
SquareOpen = [ZapfDingbats, 0156, 0.5]
StarOpen = [ZapfDingbats, 0110, 0.5]
TriangleDownOpen = [ZapfDingbats, 0164, 0.5]
TriangleUpOpen = [ZapfDingbats, 0163, 0.5]
PlusOpen = [ZapfDingbats, 0072, 0.5]
TimesOpen = [ZapfDingbats, 0066, 0.5]
Circled1 = [ZapfDingbats, 0300]
Circled2 = [ZapfDingbats, 0301]
Circled3 = [ZapfDingbats, 0302]
Circled4 = [ZapfDingbats, 0303]
Circled5 = [ZapfDingbats, 0304]
Circled6 = [ZapfDingbats, 0305]
Circled7 = [ZapfDingbats, 0306]
Circled8 = [ZapfDingbats, 0307]
Circled9 = [ZapfDingbats, 0310]
Circled10 = [ZapfDingbats, 0311]
SolidBall1 = [ZapfDingbats, 0312]
SolidBall2 = [ZapfDingbats, 0313]
SolidBall3 = [ZapfDingbats, 0314]
SolidBall4 = [ZapfDingbats, 0315]
SolidBall5 = [ZapfDingbats, 0316]
SolidBall6 = [ZapfDingbats, 0317]
SolidBall7 = [ZapfDingbats, 0320]
SolidBall8 = [ZapfDingbats, 0321]
SolidBall9 = [ZapfDingbats, 0322]
SolidBall10 = [ZapfDingbats, 0323]
Hand = [ZapfDingbats, 0052]
OtherHand = [ZapfDingbats, 0053]
end
end # module Tioga
|