This file is indexed.

/usr/share/ncarg/nclex/basic/basic09n.ncl 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
;
; $Id: basic09n.ncl,v 1.8 2010-03-15 22:49:23 haley Exp $
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                                                                       ;
;                Copyright (C)  1996                                    ;
;        University Corporation for Atmospheric Research                ;
;                All Rights Reserved                                    ;
;                                                                       ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
;   File:       basic09n.ncl
;
;   Author: Mary Haley
;           National Center for Atmospheric Research
;           PO 3000, Boulder, Colorado
;
;
;   Date: Tue Jul  9 16:44:42 MDT 1996
;
;   Description: This example displays all the available fonts
;

begin

wks_type = "x11"

if (str_lower(wks_type).eq."ncgm") then
;
; Create an ncgmWorkstation object.
;
  wid = create "wks" ncgmWorkstationClass defaultapp
      "wkMetaName" : "basic09n.ncgm"
  end create
end if
if (str_lower(wks_type).eq."x11") then
;
; Create an X11 workstation.
;
  wid = create "wks" windowWorkstationClass defaultapp
    "wkPause" : "True"
  end create
end if
if (str_lower(wks_type).eq."oldps") then
;
; Create an older-style PostScript workstation.
;
  wid = create "wks" psWorkstationClass defaultapp
    "wkPSFileName" : "basic09n.ps"
  end create
end if
if (str_lower(wks_type).eq."oldpdf") then
;
; Create an older-style PDF workstation.
;
  wid = create "wks" pdfWorkstationClass defaultapp
    "wkPDFFileName" : "basic09n.pdf"
  end create
end if
if (str_lower(wks_type).eq."pdf".or.str_lower(wks_type).eq."ps") then
;
; Create a cairo PS/PDF Workstation object.
;
  wid = create "wks" documentWorkstationClass defaultapp
    "wkFileName" : "basic09n"
    "wkFormat"   : wks_type
  end create
end if
if (str_lower(wks_type).eq."png") then
;
; Create a cairo PNG Workstation object.
;
  wid = create "wks" imageWorkstationClass defaultapp
    "wkFileName" : "basic09n"
    "wkFormat"   : wks_type
  end create
end if

;
;  List of available fonts (by number and name)
;

fonts = (/(/"1","default"/),\
        (/"2","cartographic_roman"/),\
        (/"3","cartographic_greek"/),\
        (/"4","simplex_roman"/),\
        (/"5","simplex_greek"/),\
        (/"6","simplex_script"/),\
        (/"7","complex_roman"/),\
        (/"8","complex_greek"/),\
        (/"9","complex_script"/),\
        (/"10","complex_italic"/),\
        (/"11","complex_cyrillic"/),\
        (/"12","duplex_roman"/),\
        (/"13","triplex_roman"/),\
        (/"14","triplex_italic"/),\
        (/"15","gothic_german"/),\
        (/"16","gothic_english"/),\
        (/"17","gothic_italian"/),\
        (/"18","math_symbols"/),\
        (/"19","symbol_set1"/),\
        (/"20","symbol_set2"/),\
        (/"21","helvetica"/),\
        (/"22","helvetica-bold"/),\
        (/"25","times-roman"/),\
        (/"26","times-bold"/),\
        (/"29","courier"/),\
        (/"30","courier-bold"/),\
        (/"33","greek"/),\
        (/"34","math-symbols"/),\
        (/"35","text-symbols"/),\
        (/"36","weather1"/),\
        (/"37","weather2"/)/)

sizes = dimsizes(fonts)

; 
; We only want 18 lines on a page
;
num_lines = 18
num_fonts = sizes(0)

div = new(1,integer)
div = num_fonts / num_lines
mod = num_fonts % num_lines
if (mod .ne. 0) then
  div = div +1
end if

;
; Create header to put on all frames
;
txid1 = create "TextItem1" textItemClass wid
  "txFuncCode" : "*"
  "txPosXF" : 0.32
  "txPosYF" : 0.98
  "txFontHeightF" : 0.02
  "txFontColor" : 3
  "txString" : "font number : font name"
end create

txid2 = create "TextItem2" textItemClass wid
  "txPosXF" : 0.72
  "txPosYF" : 0.98
  "txFontHeightF" : 0.02
  "txFontColor" : 5
  "txString" : "font example"
end create

do j = 1,div
  k = 0.90
  draw(txid1)
  draw(txid2)
;
; Loop over each font
;
  do i=(j-1)*num_lines,min((/num_fonts-1,j*num_lines-1/))
;
; Font number and name
;
    txid3 = create "TextItem3" textItemClass wid
      "txJust" : 2
      "txFuncCode" : "*"
      "txPosXF" : 0.1
      "txPosYF" : k
      "txFontHeightF" : 0.02
      "txFontColor" : 3
      "txString" : fonts(i,0) + " : " + fonts(i,1)
    end create
;
; Actual font drawn using the words 'NCAR Graphics'
;
    txid4 = create "TextItem4" textItemClass wid
      "txJust" : 2
      "txFont" : fonts(i,1)
      "txString" : "NCAR Graphics"
      "txPosXF" : 0.6
      "txPosYF" : k
      "txFontColor" : 5
      "txFontHeightF" : 0.02
    end create
    draw(txid3)
    draw(txid4)
    delete(txid3)
    delete(txid4)
    k = k - .05
  end do
  frame(wid)
end do

;
; Clean up;
;
delete(wid)

;
; End the ncl script.
;
end