[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: testing for screen fonts and colors and ot:OED.



** Reply to message from "Avrom Fischer"  on
Tue, 14 Jun 2011 00:09:50 -0500


> My main question is how to select screen colors in xywrite. I
> remember that in either an earlier version of Nota Bene or
> Xyrite there was a file you could call up that would display the
> number of each color as it would apprear in a particular
> situation. For example if you wanted to see how various colors
> looked bolded in a selected block of text you would look at the
> line in the chart for bolded in select text and see the number
> of the color you liked best. Unfortunately I no longer have my
> manuals so I do not know if there is an equivalent file in
> xywrte 4. Would appreciate any help in locating such a file.

You've got the horse and the cart switched around. You define
the colors -- not XyWrite, not Windows. This is a configurable
word processor -- remember? You define everything. The only
things XyWrite defines are the atomic elements (the functions)
and the commands; you then "create" a word processor out of
those fundamentals. The way things are set up by default are
just examples; the idea has always been that you season to
taste. (You "no longer" have your manuals???)

Flash's "table" reflects his choices, not choice itself.

Establish color of all sorts in a PRiNter file, e.g.:

;PR;
;General plan:
; Normal text is gray.
; Italic text is green.
; Underline text is blue.
;
; Bold text is a brighter version (usually) of its counterpart.
;
; Normal background is blue.
; Superscript background is magenta.
; Subscript background is orange or brown.
; Strikethru (Redlining) background is red.
; Insert (Redlining) background is green.
; Reverse (Forms) background is gray.
;
; Select text background is black, or it reverses to another
background.

; The DD variable for selecting text is set to 16. Setting to
; a factor of 2 gives the most flexibility.
;
; Establish color settings
; L0 - L4 establish header/menu colors
DF L0=113,71,116,121
DF L1=113,31,78,29
DF L2=27,30,23,14,78
DF L3=19,33,27,26
DF L4=113,71,116,120,64
;
; Window border colors
(active,1,2,3,4,5,6,7,8,9,labels,triangles,tabs,graphic view
mode)
DF BX=31,23,23,23,23,23,23,23,23,23,32,30,23,240
;
; CR x,y,z sets cursor values
; x=standard
; y=edit cursor with dialog box (as spell menu)
; z=mouse cursor
;DF CR=0,112,88
DF CR=0,199,102,4
;
; DD is number used to compute display of defined text
; Defined text does not display in this mode number
DF DD=16
;
; PK is color for visible page breaks
DF PK=23
;
; Display modes
; Normal settings
MD NM=23
MD BO=31
MD UL=19
MD BU=27
MD IT=26
MD BI=30
MD RV=113
MD BR=121
MD SU=87
MD SD=96
;
; Delete modes (Redlining)
MD DN=71
MD DB=79
MD DU=67
MD DI=74
MD DO=78
MD DL=75
MD DS=77
MD DD=76
MD DR=116
;
; Insert modes (Redlining)
MD IN=40
MD IB=47
MD IU=41
MD II=42
MD IO=46
MD IR=114
MD IL=43
MD IV=122
MD IS=37
MD ID=44
;
; Flashing modes (add 128 to mode number)
MD FL=151
MD FU=147
MD FR=241
MD SO=159
;
; Footnotes
MD FN=20
;
; Display modes for which MD numbers must be reassigned. Numbers
set equal to themselves are for resetting when returning from
another kind of hardware:
;COLOR
;Italic subscript
MD 207=98
;Italic superscript
MD 215=82
;Redline delete reverse
MD 219=116
;Bold italic underscore
MD 220=62
;Italic underscore
MD 221=58
;Superscript
MD 229=229
;Subscript forms
MD 235=124
;Subscript underscore
MD 237=105
;Bold subscript
MD 238=111
;Superscript forms
MD 243=106
;Superscript underscore
MD 245=81
;Bold Superscript
MD 246=95
;
;MD0 «MD1» 1 «MD2» 2 «MD3» 3 «MD4» 4 «MD5» 5
«MD6» 6
«MD7» 7 «MD8» 8 «MD9» 9 «MD10»10 «MD11»11
«MD12»12
«MD13»13 «MD14»14 «MD15»15 «MDNM»
;«MD16» 16 «MD17»17 «MD18»18 «MD19»19 «MD20»20
 «MD21»21
«MD22»22 «MD23»23 «MD24»24 «MD25»25 «MD26»26
«MD27»27
«MD28»28 «MD29»29 «MD30»30 «MD31»31 «MDNM»
;«MD32» 32 «MD33»33 «MD34»34 «MD35»35 «MD36»36
 «MD37»37
«MD38»38 «MD39»39 «MD40»40 «MD41»41 «MD42»42
«MD43»43
«MD44»44 «MD45»45 «MD46»46 «MD47»47 «MDNM»
;«MD48» 48 «MD49»49 «MD50»50 «MD51»51 «MD52»52
 «MD53»53
«MD54»54 «MD55»55 «MD56»56 «MD57»57 «MD58»58
«MD59»59
«MD60»60 «MD61»61 «MD62»62 «MD63»63 «MDNM»
;«MD64» 64 «MD65»65 «MD66»66 «MD67»67 «MD68»68
 «MD69»69
«MD70»70 «MD71» 71 «MD72»72 «MD73»73 «MD74»74
«MD75»75
«MD76»76 «MD77»77 «MD78»78 «MD79»79 «MDNM»
;«MD80» 80 «MD81»81 «MD82»82 «MD83» 83 «MD84» 84
 «MD85»85
«MD86»86 «MD87»87 «MD88»88 «MD89»89 «MD90»90
«MD91»91
«MD92»92 «MD93»93 «MD94»94 «MD95»95 «MDNM»
;«MD96» 96 «MD97»97 «MD98»98 «MD99»99
«MD100»100 «MD101»101
«MD102»102 «MD103»103 «MD104»104 «MD105»105
«MD106»106
«MD107»107 «MD108»108 «MD109»109 «MD110»110
«MD111»111 «MDNM»
;«MD112»112 «MD113»113 «MD114»114 «MD115»115
«MD116»116
«MD117»117 «MD118»118 «MD119»119 «MD120»120
«MD121»121
«MD122»122 «MD123»123 «MD124»124 «MD125»125
«MD126»126
«MD127»127 «MDNM»
;«MD128»128 «MD129»129 «MD130»130 «MD131»131
«MD132»132
«MD133»133 «MD134»134 «MD135»135 «MD136»136
«MD137»137
«MD138»138 «MD139»139 «MD140»140 «MD141»141
«MD142»142
«MD143»143 «MDNM»
;«MD144»144 «MD145»145 «MD146»146 «MD147»147
«MD148»148
«MD149»149 «MD150»150 «MD151»151 «MD152»152
«MD153»153
«MD154»154 «MD155»155 «MD156»156 «MD157»157
«MD158»158
«MD159»159 «MDNM»
;«MD160»160 «MD161»161 «MD162»162 «MD163»163
«MD164»164
«MD165»165 «MD166»166 «MD167»167 «MD168»168
«MD169»169
«MD170»170 «MD171»171 «MD172»172 «MD173»173
«MD174»174
«MD175»175 «MDNM»
;«MD176»176 «MD177»177 «MD178»178 «MD179»179
«MD180»180
«MD181»181 «MD182»182 «MD183»183 «MD184»184
«MD185»185
«MD186»186 «MD187»187 «MD188»188 «MD189»189
«MD190»190
«MD191»191 «MDNM»
;«MD192»192 «MD193»193 «MD194»194 «MD195»195
«MD196»196
«MD197»197 «MD198»198 «MD199»199 «MD200»200
«MD201»201
«MD202»202 «MD203»203 «MD204»204 «MD205»205
«MD206»206
«MD207»207 «MDNM»
;«MD208»208 «MD209»209 «MD210»210 «MD211»211
«MD212»212
«MD213»213 «MD214»214 «MD215»215 «MD216»216
«MD217»217
«MD218»218 «MD219»219 «MD220»220 «MD221»221
«MD222»222
«MD223»223 «MDNM»
;«MD224»224 «MD225»225 «MD226»226 «MD227»227
«MD228»228
«MD229»229 «MD230»230 «MD231»231 «MD232»232
«MD233»233
«MD234»234 «MD235»235 «MD236»236 «MD237»237
«MD238»238
«MD239»239 «MDNM»
;«MD240»240 «MD241»241 «MD242»242 «MD243»243
«MD244»244
«MD245»245 «MD246»246 «MD247»247 «MD248»248
«MD249»249
«MD250»250 «MD251»251 «MD252»252 «MD253»253
«MD254»254
«MD255»255 «MDNM»
;«FL»
;«MDNM»«VN*NM»=NM	«MDBO»«VN*BO»=BO«MDNM»	«MDUL»«VN*UL»=UL«MDNM»
«MDRV»«VN*RV»=RV«MDNM»	«MDBU»«VN*BU»=BU«MDNM»
«MDBR»«VN*BR»=BR«MDNM»	«MDSU»«VN*SU»=SU«MDNM»
«MDSD»«VN*SD»=SD«MDNM»	«MDFL»«VN*FL»=FL«MDNM»
;«MDFU»«VN*FU»=FU«MDNM»	«MDFR»«VN*FR»=FR«MDNM»
«MDBI»«VN*BI»=BI«MDNM»	«MDIT»«VN*IT»=IT«MDNM»
«MDSO»«VN*SO»=SO«MDNM»	«MDSB»«VN*SB»=SB«MDNM»
«MDFN»«VN*FN»=FN«MDNM»	«MDMM»«VN*MM»«MDNM»«VN*MM»=MM
;«MDIN»«VN*IN»=IN«MDNM»	«MDIB»«VN*IB»=IB«MDNM»
«MDIU»«VN*IU»=IU«MDNM»	«MDIR»«VN*IR»=IR«MDNM»
«MDIL»«VN*IL»=IL«MDNM»	«MDIV»«VN*IV»=IV«MDNM»
«MDIS»«VN*IS»=IS«MDNM»	«MDID»«VN*ID»=ID«MDNM»
«MDII»«VN*II»=II«MDNM»	«MDIO»«VN*IO»=IO«MDNM»
;«MDDN»«VN*DN»=DN«MDNM»	«MDDB»«VN*DB»=DB«MDNM»
«MDDU»«VN*DU»=DU«MDNM»	«MDDR»«VN*DR»=DR«MDNM»
«MDDL»«VN*DL»=DL«MDNM»	«MDDV»«VN*DV»=DV«MDNM»
«MDDS»«VN*DS»=DS«MDNM»	«MDDD»«VN*DD»=DD«MDNM»
«MDDI»«VN*DI»=DI«MDNM»	«MDDO»«VN*DO»=DO«MDNM»
;«VN*HN»=HN	«VN*HR»=HR

-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------