Elvas Tower: Number size in the Cabview - Elvas Tower

Jump to content

  • 9 Pages +
  • « First
  • 7
  • 8
  • 9
  • You cannot start a new topic
  • You cannot reply to this topic

Number size in the Cabview Rate Topic: -----

#81 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,441
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

Posted 02 November 2014 - 09:29 PM

Just a couple of before and after screenshots with the Quarts MS font installed. Manually adjusted the positions in the cvf file.

Attached thumbnail(s)

  • Attached Image: Before.jpg
  • Attached Image: After.jpg


#82 Inactive_BNSF8806_*

  • Group: Status: Passengers (Obsolete)

Posted 27 January 2015 - 06:06 PM

Does anyone know how to Fix the Font in the P42 cab for Open Rails

#83 User is offline   ATW 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 638
  • Joined: 07-January 13
  • Gender:Male
  • Simulator:MSTS Open Rails
  • Country:

Posted 27 January 2015 - 06:16 PM

Would be helpful to us if you told us which one.

#84 User is offline   markus_GE 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 4,862
  • Joined: 07-February 13
  • Gender:Male
  • Location:Leoben, Styria, Austria, Europe
  • Simulator:ORTS / MSTS
  • Country:

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:

		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 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,441
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

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.

#86 User is offline   NZ_JOHN 

  • Fireman
  • Group: Status: Active Member
  • Posts: 179
  • Joined: 15-September 16
  • Gender:Male
  • Location:New Zealand
  • Simulator:OR
  • Country:

Posted 25 March 2020 - 01:14 AM

 R H Steele, on 02 November 2014 - 09:29 PM, said:

Just a couple of before and after screenshots with the Quarts MS font installed. Manually adjusted the positions in the cvf file.

How id you get LENGTH into CVF file Type ???? Units ???
Thanks

#87 User is offline   R H Steele 

  • Executive Vice President
  • PipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 3,441
  • Joined: 14-March 13
  • Gender:Male
  • Location:known universe
  • Simulator:Open Rails
  • Country:

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


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.

You can download digital fonts and install them or use any font found in your system ( Control Panel >> Fonts )



#88 User is offline   Stijn D.C. 

  • Engineer
  • Group: Status: Contributing Member
  • Posts: 516
  • Joined: 20-August 16
  • Gender:Male
  • Simulator:Open Rails
  • Country:

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

  • 9 Pages +
  • « First
  • 7
  • 8
  • 9
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users