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

Re: FONTITAL= is now support in vDos-lfn



Hi Carl and Harry,

I have added two new config file directives: FONTBOLD and FONTBOIT, which like FONTITAL are used to optionally specify the bold and bold italic versions of the font. For example, for the Consola font, the fonts consolab, consolai and consolaz are its bold, italic and bold italic versions respectively.

Note that all of these directives will point to font files that actually exist. I doubt there is a "small" version of the font available, so FONTSMALL probably won't do anything useful. Similar for other FONT[xxx] directives. In other words, if no such font variants actually exist, then FONT[xxxx] basically won't do anything good. Hope this helps.

Wengier
  


On Sunday, July 31, 2016 5:10 PM, Harry Binswanger wrote:


Wengier,

Excellent. Yes, I'd noticed that the "d," in particular can get cut off in some fonts, so this is a welcome improvement.

Also, it adds simplicity and flexibility to the color scheme, because one doesn't have to use (I assume) any particular MoDe number for the italics.

I second Carl's request for FONTBOLD. And of great help to me would be FONTSMALL, because for the programs I write using XyWrite, I like to have the comments in much smaller type, so that they are there when I need them, but don't distract from the code itself.

Hmmm, maybe that's a generic way to do this, with the user being able to define FONT[whatever name he assigns here]=[user's choice of Windows font]. Is that feasible?

--Harry

I want to add that in order to use the FONTITAL directive you will need to have the corresponding italic font file of course. For example, for the "FONTITAL=CONSOLAI" option to work you will need to have the font file named Consolai.ttf, which is usually found in C:\Windows\Fonts. I hope it will be included in the next vDos-lfn for XyWrite release too.

Wengier


On Sunday, July 31, 2016 9:33 AM, Wengier W wrote:


Hi all,

In the recent builds of vDos-lfn, visual display of italicized text is supported by setting the WP directive in the vDos-lfn config file. With this feature the characters will be slanted automatically by vDos-lfn, but certain characters that lean over a lot (such as the lowercase italic d) might not look very well in some fonts. On the other hand, fonts such as CONSOLA has corresponding italic versions, so I decided to add the feature to use the actual italic version of the font to visually display the italicized text, which can be specified with the FONTITAL directive. For example, the font "CONSOLAI" is the italic version of the font "CONSOLA", so if you specify the font "CONSOLA" using the FONT directive in the config file then you can specify the font "CONSOLAI" using the FONTITAL directive. If there is an actual italic version of the font it is recommended to use it since it tends to look better (but if you cannot find such a version then vDos-lfn will automatically slant the characters as before). This feature is now supported in the latest vDos-lfn build, i.e. build 2016.07.31. The latest vDos-lfn build can be found at the usual location (for the 2015.11.01 branch):

http://individual.utoronto.ca/wengier/old/vdos-lfn-201511.zip http://individual.utoronto.ca/wengier/old/vdos-lfn-201511.zip

Wengier