In an application where line drawing characters are required for window borders and for boxing drop down menus I get various spurious characters being displayed. I've tried the default and CONSOLA fonts without being able to get rid of them. Is there a solution to this problem?
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Those would be some rarely used corners, for instance thick horizontal to thin vertical.
Your application is probably built to be used with code page 437.
The Windows code page will be 850 or something, the ASCII values of these corners are defined in there as extended characters.
I once thought to add some option to config.txt to force these characters to lines/corners.
But no one so far complained about this.
So your only real option for now would be to edit the vDos.ttf file, remove these characters (for instance with FontForge) add font=vDos to cofig.txt.
Jos: I haven't done anything with FontForge but I put vDos.ttf in my vDos folder and amended config.txt to read 'font=vDos' and the program displayed correctly :-)
Thanks
Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
vDos.ttf is the font as embedded in vDos.exe.
So I was puzzled as you reported it did fix your graphic characters.
To be sure, I (re)downloaded it and added “font=vDos” to config.txt.
As expected, nothing happened.
So it’s the trick of Gnips that did the job!
To confirm, just remove the “font=vDos” line from config.txt.
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Edward: 1. It's a 'Notepad' look-alike written in Power C (see attachment)
If I understand you correctly, under 'Regional and language Options', 'Regional Options' is set to 'English - United Kingdom', and 'Advanced' is set to the same. The 'Code page conversion tables' options have both 437 and 850 checked.
PS - see my reply to Jos. Adding vDos.ttf has cured the problem
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
In an application where line drawing characters are required for window borders and for boxing drop down menus I get various spurious characters being displayed. I've tried the default and CONSOLA fonts without being able to get rid of them. Is there a solution to this problem?
Paul
Those would be some rarely used corners, for instance thick horizontal to thin vertical.
Your application is probably built to be used with code page 437.
The Windows code page will be 850 or something, the ASCII values of these corners are defined in there as extended characters.
I once thought to add some option to config.txt to force these characters to lines/corners.
But no one so far complained about this.
So your only real option for now would be to edit the vDos.ttf file, remove these characters (for instance with FontForge) add font=vDos to cofig.txt.
Jos
Last edit: Jos Schaars 2014-08-27
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Jos: I haven't done anything with FontForge but I put vDos.ttf in my vDos folder and amended config.txt to read 'font=vDos' and the program displayed correctly :-)
Thanks
Paul
vDos.ttf is the font as embedded in vDos.exe.
So I was puzzled as you reported it did fix your graphic characters.
To be sure, I (re)downloaded it and added “font=vDos” to config.txt.
As expected, nothing happened.
So it’s the trick of Gnips that did the job!
To confirm, just remove the “font=vDos” line from config.txt.
Jos
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Jos: you are quite correct - I tried again with 'font=vDos' REMmed out and the graphics characters displayed as they should.
Paul
The standard box-drawing characters should display correctly.
Which application are you using?
What country (US, UK, NL, etc.) is your Windows system set up to use?
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Edward: 1. It's a 'Notepad' look-alike written in Power C (see attachment)
PS - see my reply to Jos. Adding vDos.ttf has cured the problem
Last edit: Anonymous 2014-08-28
I had some similar problems and changed the OEM code page to 437.
After this change it worked. You need to reboot though.
The key is here:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage]
"OEMCP"="437"
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Gnips: I made the change you suggested (from 850 to 437) and rebooted but it made no change - the characters did not display correctly.
Funnily enough, if I run the program in a DOS command window (under XP) the display is as it should be.
PS - see my reply to Jos. Adding vDos.ttf has cured the problem
Last edit: Anonymous 2014-08-28
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Gnips: following Jos' advice, I have found that your registry change was what actually caused the graphics characters to display correctly. Thanks.
Paul