# white-on-black map style file for sec2pdf # NOTES: # 1) the -g option won't work well (if at all) with # non-standard style definitions! # 2) color specifications in MSEC files override # anything here. # How does this work? # 1) There are 8 different types of data currently used # (pos, fill, stroke, line, font, size, align, and radius). # 2) All the drawing routines call setstyles($stylename,$dontscale), # which grovels over the data in this file, looking for a match. # 3) If $dontscale is 1, then pos, line, size, and radius will be # measured in points (1/72 inch), otherwise they'll be scaled to # be percentages of the radius of a hex, with (0,0) at the center # of the hex. A circle of radius 100 would then touch all six # vertices. # 4) setstyles() searches through the style's "parents" to implement # simple inheritance. # 5) If it can't find a matching value, it falls back to default-$type # 6) A value of "none" is valid for fill and stroke. # 7) A special value of "off" means that printing of this data # should be suppressed. So, if you wanted to turn off the # printing of UWP above system name, "system-uwp off" would # do it. Note that "system off" will turn off everything under # system-*. # # For example, if the style name is "system-name-highpop-font", # the first matching key in the following list will be used: # system-name-highpop-font # system-name-font # system-font # default-font # What colors can you use? # All of them, specified in a ridiculous number of # different ways: # 1) Shades of gray from black (0) to white (1) # 2) RGB in hex digits, as #rgb, #rrggbb, #rrrgggbbb, or #rrrrggggbbbb # 3) CMYK in hex, as %cmyk, %ccmmyykk, %cccmmmyyykkk, or %ccccmmmmyyyykkkk # 4) HSL in hex, as &hsl, &hhssll, &hhhssslll, or &hhhhssssllll # 5) HSV in hex, as !hsv, !hhssvv, !hhhsssvvv, or !hhhhssssvvvv # 6) A long list of named colors. So long, in fact, that I've moved # it to a separate comment all the way at the end of this file. # default settings that everything inherits # default-pos 0 0 default-fill black default-stroke white default-line 2.5 default-font Helvetica default-size 18 default-align center default-radius 30 #page headers #these should be unscaled #(not fully integrated in the code yet) # map-text-fill black map-text-sector-align left map-text-section-align right #subsector division lines # map-dividers-stroke 0.6 map-dividers-line 2 #exterior map border # map-border-stroke black map-border-fill none map-border-line 3 #background of map # map-background-fill black map-background-stroke none #xboat/trade routes (stroke can be overridden in MSEC file) # map-route-line 6 map-route-stroke darkslategray #region (filled) and border (stroked) directives from MSEC file # map-region-line 9 map-region-filled-fill darkgray map-region-filled-stroke none map-region-stroked-fill none map-region-stroked-stroke red #this feature is currently a bit fragile in the code, so all of #the keys *must* be present, and the first two must *not* be #changed. # map-label-align center map-label-pos 0 12 map-label-fill lightblue map-label-large-size 80 map-label-size 65 map-label-small-size 50 #map hexes # hex-line 1.5 #NOTE: adding a fill here will clobber filled regions, which are drawn first. hex-fill none hex-stroke 0.4 #map hex labels # hex-label-font Helvetica hex-label-fill white hex-label-size 29 hex-label-pos 0 74 #system-level defaults # system-fill white system-size 34 #system name # system-name-pos 0 -94 system-name-highpop-font Helvetica-Bold #sample of how to disable printing specific data #system-uwp off #UWP for systems that have names # system-uwp-font Helvetica system-uwp-size 25 system-uwp-pos 0 -65 #used when there's no name for a system, or -u is used # system-noname-font Helvetica system-noname-size 30 system-noname-uwp-pos 0 -67 system-noname-pbg-pos 0 -93 #mainworld circle # system-world-radius 29 system-world-stroke none system-world-haswater-fill blue system-world-nowater-fill white #mainworld is a belt... #(radius is used to generate several different circles) # system-belt-stroke none system-belt-radius 4 #system base code # system-base-pos -26 26 system-base-align right system-starport-pos 0 41 #circle representing presence of gas giants # system-gasgiant-pos 36 36 system-gasgiant-stroke none system-gasgiant-radius 10 #allegiance code # system-ally-size 25 system-ally-align right system-ally-pos 85 -43 #amber zones # system-amber-radius 70 system-amber-stroke orange system-amber-fill none system-amber-line 5 #red zones # system-red-radius 70 system-red-stroke darkred system-red-fill none system-red-line 5 # Named color list: # aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, # black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, # chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, # darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkgrey, # darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, # darkred, darksalmon, darkseagreen, darkslateblue, darkslategray, # darkslategrey, darkturquoise, darkviolet, deeppink, deepskyblue, # dimgray, dimgrey, dodgerblue, firebrick, floralwhite, forestgreen, # fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, grey, green, # greenyellow, honeydew, hotpink, indianred, indigo, ivory, khaki, # lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, # lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgreen, # lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, # lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, # limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, # mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, # mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, # mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, # olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, # paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, # powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, # sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, # slategray, slategrey, snow, springgreen, steelblue, tan, teal, thistle, # tomato, turquoise, violet, wheat, white, whitesmoke, yellow, # yellowgreen