Just a couple of before and after screenshots with the Quarts MS font installed. Manually adjusted the positions in the cvf file.
Number size in the Cabview
#82 Inactive_BNSF8806_*
Posted 27 January 2015 - 06:06 PM
Does anyone know how to Fix the Font in the P42 cab for Open Rails
#84
Posted 28 January 2015 - 05:53 AM
If you are comfortable with cabview file (.CVF) editing, you can add a line to the paragraph describing the control in question:
Add the line marked with the ###. AFAIK, it consists of the font size in pixels, the font style (0=normal, the rest should be in the manual) and the font name.
Cheers, Markus
Digital ( Type ( SPEEDOMETER DIGITAL ) Position ( 427 276 32 32 ) ScaleRange ( 0 80 ) Accuracy ( 0 ) AccuracySwitch ( 0 ) LeadingZeros ( 1 ) Justification ( 1 ) PositiveColour ( 0 ControlColour ( 99 176 3 ) ) NegativeColour ( 0 ) DecreaseColour ( 0 ) Units ( MILES_PER_HOUR ) ORTSfont ( 10 0 "Arial" ) ################################### )
Add the line marked with the ###. AFAIK, it consists of the font size in pixels, the font style (0=normal, the rest should be in the manual) and the font name.
Cheers, Markus
#85
Posted 28 January 2015 - 11:20 AM
Post #73 in this thread has a link to a microsoft font "Quartz" that looks realistic in digital displays, if you prefer.
Read this thread, has all the instructions in various posts.
Read this thread, has all the instructions in various posts.
#86
Posted 25 March 2020 - 01:14 AM
#87
Posted 25 March 2020 - 08:20 AM
NZ_JOHN, on 25 March 2020 - 01:14 AM, said:
How id you get LENGTH into CVF file Type ???? Units ???
Thanks
Thanks
I don't understand your question, especially regarding "length" --- I simply followed the instructions in this section of the manual.
Quote
14.1.6 Configurable Fonts
OR supports a congurable font family, with font size selection, and a choice of regular or bold style.
More than one font or size can be used in the same cabview. This does not aect the display in MSTS.
An optional line of the form ORTSfont ( fontsize fontstyle "fontfamily" ) must be inserted into
the .cvf block of the digital control or digital clock, where fontsize is a oat (default value 10), fontstyle
an integer having the value 0 (default) for regular and 1 for bold, and fontfamily is a string with the font
family name (ex. “Times New Roman”). The default is “Courier New”. A convenient font, if available, is
“Quartz MS” or “Quartz”, which models a 7-segment display.
Here is an example that displays the digital clock with a 12 pt. bold font using the Sans Serif font family:
DigitalClock (
Type ( CLOCK DIGITAL_CLOCK )
Position ( 40 350 56 11 )
Style ( 12HOUR )
Accuracy ( 1 )
ControlColour ( 255 255 255 )ORTSFont ( 12 1 "Sans Serif" )
)
It is acceptable if only the rst parameter of ORTSFont is present, or only the rst two, or all three. Note
that you cannot use the MS Cabview editor on the .cvf le after having inserted these optional lines,
because the editor will delete these added lines when the le is saved.
OR supports a congurable font family, with font size selection, and a choice of regular or bold style.
More than one font or size can be used in the same cabview. This does not aect the display in MSTS.
An optional line of the form ORTSfont ( fontsize fontstyle "fontfamily" ) must be inserted into
the .cvf block of the digital control or digital clock, where fontsize is a oat (default value 10), fontstyle
an integer having the value 0 (default) for regular and 1 for bold, and fontfamily is a string with the font
family name (ex. “Times New Roman”). The default is “Courier New”. A convenient font, if available, is
“Quartz MS” or “Quartz”, which models a 7-segment display.
Here is an example that displays the digital clock with a 12 pt. bold font using the Sans Serif font family:
DigitalClock (
Type ( CLOCK DIGITAL_CLOCK )
Position ( 40 350 56 11 )
Style ( 12HOUR )
Accuracy ( 1 )
ControlColour ( 255 255 255 )ORTSFont ( 12 1 "Sans Serif" )
)
It is acceptable if only the rst parameter of ORTSFont is present, or only the rst two, or all three. Note
that you cannot use the MS Cabview editor on the .cvf le after having inserted these optional lines,
because the editor will delete these added lines when the le is saved.
You can download digital fonts and install them or use any font found in your system ( Control Panel >> Fonts )
#88
Posted 25 March 2020 - 12:51 PM
I use ORTSFont option in my .cvf files, for change standard lettertype and heigh…
Just what i prefer in future, is a rotationoption, that you can rotate this cabviewcontrol.
Greetz,
Stijn
Just what i prefer in future, is a rotationoption, that you can rotate this cabviewcontrol.
Greetz,
Stijn