taviso / wpunix

WordPerfect for UNIX Character Terminals
647 stars 18 forks source link

Minor bug with print preview using ghostscript driver #10

Open Vasja1986 opened 2 years ago

Vasja1986 commented 2 years ago

screenshot01 screenshot02

After all your hard work on the ghostscript driver I hate to tell you... but I have found a minor bug. When the ghostscript driver is selected regular styled cyrillic (probably other national characters as well) characters are displayed using a italics font. This is not the case with other drivers.

Steps to reproduce:

This does not affect the output when printing to disk, so I am not really too concerned. But it technically is a bug none the less. Maybe you can have a look into it, when you are out of other bug-reports or bored to death.

taviso commented 2 years ago

Thank you, I appreciate the bug report!

Hmm, I see what you mean, it must be one of the settings in the typeface definition. Maybe I can try just change random settings to see which one is causing that! 😃

As far as I know the slant settings are correct, which is the obvious culprit!

emendelson commented 2 years ago

@taviso There's an easy but non-intuitive fix for this, I think. Edit the all file with PTR.EXE. Go to Fonts, Courier, Automatic Font Changes, and scroll down to Cyrillic. Press Enter, select Courier, then F7 and make sure that Courier is in the right-hand field. The same thing probably needs to be done for Greek and probably some other character sets.

Then, the same thing needs to be done for the other fonts - for each font, specify that font itself as the Automatic Font Change for Cyrillic, etc. This can be automated with the WP Shell program, but you can probably find an easier way...!

EDIT: I sometimes wonder if I'm the only person in the world who remembers these things.