I've got some issues using w$font, in Windows:
First of all I accept the standard Font:
ACCEPT VP-MAIN-FONT FROM STANDARD OBJECT "DEFAULT-FONT"
The Font is usually 'MS Sans Serif'
- When I set this font to 14 size, the font is always bold
- I can not define a 9, 11, 13 size, w$font returns a error, but from another application this sizes are available
Can I do something to solve this?
RE: Font troubles
The accept statement and call to w$font are two different things. I'm going to guess that you are using the fonts.def copybook, have you initialized WFONT-DATA? Try our showfont.cbl example program.