This file is indexed.

/usr/share/ncarg/resfiles/legend/lg01.res is in libncarg-data 6.1.2-7.

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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
!
! Example:  This resource file shows all Legend resources and
!           their default values.
!
!  ==============================================================
!  The following resources relate to the viewport on the drawing
!  canvas.
!  ==============================================================
!
!       Height in NDC (0. to 1.) of the viewport
! lg01.lg01Work.Legend.vpHeightF                   : 0.8
!
!       Switch to allow the plot X to Y aspect ratio to remain fixed
!       when resizing or moving the object.
! lg01.lg01Work.Legend.vpKeepAspect                : False
!
!       Save this graphical object as a GKS segment
! lg01.lg01Work.Legend.vpUseSegments               : False
!
!       Width in NDC (0. to 1.) of the viewport
! lg01.lg01Work.Legend.vpWidthF                    : 0.8
!
!       NDC (0. to 1.) X location of the upper left corner of the plot
! lg01.lg01Work.Legend.vpXF                        : 0.1
!
!       NDC (0. to 1.) Y location of the upper left corner of the plot
! lg01.lg01Work.Legend.vpYF                        : 0.9
!
! ----------------------
! THE COMPOSITE LEGEND
! ----------------------
!
!       Switch to turn on/off drawing of the legend
! lg01.lg01Work.Legend.lgLegend              : True
!
!       Is title and label sizing to be done automatically
! lg01.lg01Work.Legend.lgAutoManage          : True
!
!       Should the legend be HORIZONTAL or VERTICAL
! lg01.lg01Work.Legend.lgOrientation         : VERTICAL
!
!   When the legend changes size the justification determines
!   a fixed point about which the size change occurs. Any of the
!   corners, the center of any edge, or the current center of the
!   Legend may be set to the fixed justification point.
!
!       TOPLEFT
!       CENTERLEFT
!       BOTTOMLEFT
!       TOPCENTER
!       CENTERCENTER
!       BOTTOMCENTER
!       TOPRIGHT
!       CENTERRIGHT
!       BOTTOMRIGHT
! lg01.lg01Work.Legend.lgJustification       : BOTTOMLEFT
!
!       Distance from Legend perimeter to the Legend information
!       as a fraction of the smaller perim dimension.
! lg01.lg01Work.Legend.lgLeftMarginF         : .05
!
!       Distance from Legend perimeter to the Legend information
!       as a fraction of the smaller perim dimension.
! lg01.lg01Work.Legend.lgRightMarginF        : .05
!
!       Distance from Legend perimeter to the Legend information
!       as a fraction of the smaller perim dimension.
! lg01.lg01Work.Legend.lgBottomMarginF       : .05
!
!       Distance from Legend perimeter to the Legend information
!       as a fraction of the smaller perim dimension.
! lg01.lg01Work.Legend.lgTopMarginF          : .05
!
! ------------------
! THE LEGEND TITLE
! ------------------
!
!       Draw the legend title (default is True)
! lg01.lg01Work.Legend.lgDrawTitle           : 1
!
!       If a string is set DrawTitle defaults to True.  Else
!       DrawTitle defaults to False.  If DrawTitle is set to
!       True, but no string is entered into TitleString, then
!       a title consisting of the name of the current instantiation
!       of the object is inserted into TitleString.
!
! lg01.lg01Work.Legend.lgTitleString          :
!
!       Determines where the title goes relative to the legend object.
!       Options are TOP, BOTTOM, LEFT, and RIGHT.
! lg01.lg01Work.Legend.lgTitlePosition        : TOP
!
!       Determines the NDC distance between the title and the label/box info.
! lg01.lg01Work.Legend.lgTitleOffsetF         : .03
!
!       NDC extent allocated for the title when AutoManage is on.
! lg01.lg01Work.Legend.lgTitleExtentF      : .15
!
!       Rotation angle of the title
! lg01.lg01Work.Legend.lgTitleAngleF          : 0.
!
!       Direction the title is to be drawn
!       Defaults to ACROSS when TitlePosition = TOP or BOTTOM
!       Defaults to DOWN when TitlePosition = LEFT or RIGHT
! lg01.lg01Work.Legend.lgTitleDirection       : ACROSS
!
!       How the title text is justified within the text bounding box
!       TOPLEFT
!       CENTERLEFT
!       BOTTOMLEFT
!       TOPCENTER
!       CENTERCENTER
!       BOTTOMCENTER
!       TOPRIGHT
!       CENTERRIGHT
!       BOTTOMRIGHT
! lg01.lg01Work.Legend.lgTitleJust           : CENTERCENTER
!
!       The type of character font where the options include:
! |-------------------------------------------------------|
! | INDEX | TYPE          | NAME                          |
! |=======================================================|
! |  0    | stroked       | pwritx_database               |
! |-------------------------------------------------------|
! |  1    | stroked       | default                       |
! |-------------------------------------------------------|
! |  2    | stroked       | cartographic_roman            |
! |-------------------------------------------------------|
! |  3    | stroked       | cartographic_greek            |
! |-------------------------------------------------------|
! |  4    | stroked       | simplex_roman                 |
! |-------------------------------------------------------|
! |  5    | stroked       | simplex_greek                 |
! |-------------------------------------------------------|
! |  6    | stroked       | simplex_script                |
! |-------------------------------------------------------|
! |  7    | stroked       | complex_roman                 |
! |-------------------------------------------------------|
! |  8    | stroked       | complex_greek                 |
! |-------------------------------------------------------|
! |  9    | stroked       | complex_script                |
! |-------------------------------------------------------|
! | 10    | stroked       | complex_italic                |
! |-------------------------------------------------------|
! | 11    | stroked       | complex_cyrillic              |
! |-------------------------------------------------------|
! | 12    | stroked       | duplex_roman                  |
! |-------------------------------------------------------|
! | 13    | stroked       | triplex_roman                 |
! |-------------------------------------------------------|
! | 14    | stroked       | triplex_italic                |
! |-------------------------------------------------------|
! | 15    | stroked       | gothic_german                 |
! |-------------------------------------------------------|
! | 16    | stroked       | gothic_english                |
! |-------------------------------------------------------|
! | 17    | stroked       | gothic_italian                |
! |-------------------------------------------------------|
! | 18    | stroked       | math_symbols                  |
! |-------------------------------------------------------|
! | 19    | stroked       | symbol_set1                   |
! |-------------------------------------------------------|
! | 20    | stroked       | symbol_set2                   |
! |-------------------------------------------------------|
! | 21    | filled        | helvetica                     |
! |-------------------------------------------------------|
! | 22    | filled        | helvetica-bold                |
! |-------------------------------------------------------|
! | 25    | filled        | times-roman                   |
! |-------------------------------------------------------|
! | 26    | filled        | times-bold                    |
! |-------------------------------------------------------|
! | 29    | filled        | courier                       |
! |-------------------------------------------------------|
! | 30    | filled        | courier-bold                  |
! |-------------------------------------------------------|
! | 33    | filled        | greek                         |
! |-------------------------------------------------------|
! | 34    | filled        | math-symbols                  |
! |-------------------------------------------------------|
! | 35    | filled        | text-symbols                  |
! |-------------------------------------------------------|
! | 36    | filled        | weather1                      |
! |-------------------------------------------------------|
! | 37    | filled        | weather2                      |
! +-------------------------------------------------------+
! The default pwritx_database font contains many characters
! (564) which can be accessed using the FuncCode resource.
!
! lg01.lg01Work.Legend.lgTitleFont            : 1
!
!     Color indices are taken from the default HLU colormap.  Choices are:
!
!     Index   Color     Index   Color    Index  Color       Index   Color
!
!       1-4   white      5-18  yellows   19-21  tans        22-24   oranges
!     29-32   magentas     34  lavender  40-50  reds           57   gray
!     60-66   cyans     70-80  greens    81-90  dark grns  91-100   blues
!   106-114   blacks
!
! lg01.lg01Work.Legend.lgTitleFontColor       : FOREGROUND
!
!       The character height in NDCs of the text to be written
! lg01.lg01Work.Legend.lgTitleFontHeightF     : .025
!
!       The height/width aspect ratio of the text to be written
! lg01.lg01Work.Legend.lgTitleFontAspectF     : 1.0
!
!       The width of the lines that form the text outline
! lg01.lg01Work.Legend.lgTitleFontThicknessF  : 1.0
!
!       The degree of quality of the text to be written (LOW,MEDIUM,HIGH)
! lg01.lg01Work.Legend.lgTitleFontQuality     : HIGH
!
!       The spacing between characters of the text to be written
! lg01.lg01Work.Legend.lgTitleConstantSpacingF: 0.0
!
!       A process for accessing the many characters of the default
!       pwritx font.
! lg01.lg01Work.Legend.lgTitleFuncCode        : :
!
!
! ------------------
! THE LEGEND PERIM
! ------------------
!
!       Draw the legend perim   (0 is off, 1 is on)
! lg01.lg01Work.Legend.lgDrawPerim           : 1
!
!       Color of the legend perim
! lg01.lg01Work.Legend.lgPerimColor          : FOREGROUND
!
!       Fill sytle of the legend perim
! lg01.lg01Work.Legend.lgPerimFill           : FOREGROUND
!
!       Fill color of the legend perim
! lg01.lg01Work.Legend.lgPerimFillColor      : FOREGROUND
!
!       Width of the legend perim
! lg01.lg01Work.Legend.lgPerimThicknessF     : 1.0
!
!       Dash pattern of the legend perim
! lg01.lg01Work.Legend.lgPerimDashPattern    : 0
!
!       Length of dash segments of the legend perim
! lg01.lg01Work.Legend.lgPerimDashSegLenF    : 0.15
!
! ------------------------
! THE LEGEND ITEM BOXES
! ------------------------
!
!   The color index used for the background of all the boxes in
!   the Legend when the fill type is not solid.
! lg01.lg01Work.Legend.lgBoxBackground       : TRANSPARENT
!
!       A relative box width.  0. = no width, 1. = touching boxes
! lg01.lg01Work.Legend.lgBoxMajorExtentF     : 1.0
!
!       A relative box length in a box + label pair.
!       If set to 1.0 it crowds out the label.
! lg01.lg01Work.Legend.lgBoxMinorExtentF     : 0.33
!
!       Draw the box perimeters  (0 is off, 1 is on)
! lg01.lg01Work.Legend.lgDrawBoxLines        : 0
!
!       Color of the box perimeter
! lg01.lg01Work.Legend.lgBoxLineColor          : FOREGROUND
!
!       Width of the box perimeter
! lg01.lg01Work.Legend.lgBoxLineThicknessF     : 1.0
!
!       Dash pattern of the box perimeter
! lg01.lg01Work.Legend.lgBoxLineDashPattern    : 0
!
!       Length of dash segments of the box perimeter
! lg01.lg01Work.Legend.lgBoxLineDashSegLenF    : 0.15
!
! ------------------------
! THE LEGEND ITEM LABELS
! ------------------------
!
!       Quick switch for turning labels on/off  (default is on)
! lg01.lg01Work.Legend.lgDrawLabels              : 1
!
!       Determines the position of the labels with respect to the
!  Legend boxes.  If orientation is HORIZONTAL valid values are TOP,
!  CENTER, or BOTTOM.  If the orientation is VERTICAL valid values are
!  LEFT, CENTER, and RIGHT.
! lg01.lg01Work.Legend.lgLabelPosition           : RIGHT
!
!       Angle at which the scale labels are drawn
! lg01.lg01Work.Legend.lgLabelAngleF             : 0.0
!
!  LabelAlignment determines the alignment of the labels to the boxes.
!       BOXCENTERS    - BoxCount labels centered at the boxes.
!       INTERIOREDGES - BoxCount-1 labels starting at the bottom of box 1.
!       EXTERNALEDGES - BoxCount+1 labels starting at the top of box 1.
! lg01.lg01Work.Legend.lgLabelAlignment          : BOXCENTERS
!
!       Direction in which scale labels are drawn (UP,DOWN,ACROSS)
!       Normal direction is across for all axes.
! lg01.lg01Work.Legend.lgLabelDirection          : ACROSS
!
!       How label text is justified in a text extent rectangle
! lg01.lg01Work.Legend.lgLabelJust               : CENTERCENTER
!
!       The font style to use for labels
! lg01.lg01Work.Legend.lgLabelFont               : 1
!
!       The color for label text
! lg01.lg01Work.Legend.lgLabelFontColor          : FOREGROUND
!
!       The NDC (0. to 1.) height of the label text
! lg01.lg01Work.Legend.lgLabelFontHeightF        : .02
!
!       The height to width aspect ratio of label characters
! lg01.lg01Work.Legend.lgLabelFontAspectF        : 1.0
!
!       The width of the lines that form the text outline
! lg01.lg01Work.Legend.lgLabelFontThicknessF      : 1.0
!
!       The degree of quality of the text to be written (LOW,MEDIUM,HIGH)
! lg01.lg01Work.Legend.lgLabelFontQuality         : HIGH
!
!       The spacing between characters of the text to be written
! lg01.lg01Work.Legend.lgLabelConstantSpacingF    : 0.0
!
!       A process for accessing the many characters of the default
!       pwritx font.
! lg01.lg01Work.Legend.lgLabelFuncCode            : :
!
!       The stride between labeled bars
! lg01.lg01Work.Legend.lgLabelStride             : 1
!
!       Fractional distance between the box and the label
! lg01.lg01Work.Legend.lgLabelOffsetF            : 0.
!
!       An array of label strings
! lg01.lg01Work.Legend.lgLabelStrings            : Label_
!
! ----------------
! THE LEGEND ITEMS
! ----------------
!
!       An array containing an index value for each Legend item.
!       The meaning of the index depends on the ItemType:
!       If the type is NhllgLINES, then a dash pattern.
!       Else it is a marker index.
! lg01.lg01Work.Legend.lgItemIndexes            : 1 to ItemCount
!
!       Number of items in the Legend.
! lg01.lg01Work.Legend.lgItemCount              : 16
!
!       Items can be uniformly spaced or explicitly placed
!       using UNIFORMPLACEMENT or EXPLICITPLACEMENT.
! lg01.lg01Work.Legend.lgItemPlacement          : UNIFORMPLACEMENT
!
!       When ItemPlacement is EXPLICITPLACEMENT the positions are a
!        monotonically increasing sequence in the range 0.0 to 1.0
! lg01.lg01Work.Legend.lgItemPositions          : NULL
!
!       Used with ItemIndexes and ItemType to define lines or markers.
! lg01.lg01Work.Legend.lgItemStrings            : NULL
!
!       Items are set to either LINES or Markers, whichever is
!       the first element of the ItemTypes array.
! lg01.lg01Work.Legend.lgMonoItemType           : True
!
!       Not implemented yet
! lg01.lg01Work.Legend.lgItemType               :
!
!       Currently either LINES or MARKERS.
! lg01.lg01Work.Legend.lgItemTypes              : NULL
!
!       When set True, all items in the Legend are set to a single
!       color defined by the value of the first element of array
!       ItemColors.
! lg01.lg01Work.Legend.lgMonoItemColor          : False
!
!       ItemColor has not been implemented yet
! lg01.lg01Work.Legend.lgItemColor              :
!
!       Each item is assigned a color index
! lg01.lg01Work.Legend.lgItemColors             : 1 to ItemCount
!
!       When set True, all items in the Legend are given a line
!       thickness equal to that specified in the first element
!       of array ItemThicknesses.
! lg01.lg01Work.Legend.lgMonoItemThickness      : True
!
!       ItemThickness has not been implemented yet
! lg01.lg01Work.Legend.lgItemThickness          :
!
!       Each item is assigned a line or glyph thickness.
! lg01.lg01Work.Legend.lgItemThicknesses        : NULL
!
!       When set True, all items in the Legend are given a line
!       label or glyph height equal to that specified in the first
!       element of array ItemTextHeights.
! lg01.lg01Work.Legend.lgMonoItemTextHeight     : True
!
!       ItemTextHeight has not been implemented yet
! lg01.lg01Work.Legend.lgItemTextHeight         :
!
!       Each item is assigned a line label or glyph height in NDCs.
! lg01.lg01Work.Legend.lgItemTextHeights        : NULL
!
!       When set True, all items are given a single color which is
!       in element one of array ItemStringColors.
! lg01.lg01Work.Legend.lgMonoItemStringColor     : True
!
!       ItemStringColor has not been implemented yet
! lg01.lg01Work.Legend.lgItemStringColor         :
!
!       Each item is assigned a color index of the HLU color table.
! lg01.lg01Work.Legend.lgItemStringColors        : NULL
!
!       A boolean flag determining whether to draw internal line
!       labels within Legend line items.
! lg01.lg01Work.Legend.lgDrawLineLabels          : True
!
!       The length in NDC units of the dash pattern used for Legend
!       line items.
! lg01.lg01Work.Legend.lgLineDashSegLenF         : 0.15
!
!       The font type to use for item line labels or marker glyphs.
! lg01.lg01Work.Legend.lgItemStringFont            : 1
!
!   The height to width aspect ratio of item characters
! lg01.lg01Work.Legend.lgItemStringFontAspectF     : 1.0
!
!   The width of the lines that form the text outline
! lg01.lg01Work.Legend.lgItemStringFontThicknessF  : 1.0
!
!   The degree of quality of the text to be written (LOW,MEDIUM,HIGH)
! lg01.lg01Work.Legend.lgItemStringFontQuality     : HIGH
!
!   The spacing between characters of the text to be written
! lg01.lg01Work.Legend.lgItemStringConstantSpacingF: 0.0
!
!   A process for accessing the many characters of the default
!   pwritx font.
! lg01.lg01Work.Legend.lgItemStringFuncCode        : :
!