Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When displaying my application on an X server running on Windows or Linux, the application fonts look different than the fonts used by the Windows version of my application. Why?

0
Posted

When displaying my application on an X server running on Windows or Linux, the application fonts look different than the fonts used by the Windows version of my application. Why?

0

Since each operating system ships its own set of default fonts, Mainsoft for UNIX and Linux uses the font metrics of the original Windows fonts and the available UNIX fonts to select the UNIX font that most closely matches the original Windows font. Even though Mainsoft for UNIX and Linux tries to create a “best match” for the X fonts, you may need to set these environment variables: MWUSE_FIXED_SCREENDPI=true MWNT_DIALOG_SIZING=true This will ensure that dialogs are scaled (from dialog units) in the same proportions as on Windows. Please refer to the Knowledge Base Article, Dialog boxes and Fonts appear huge on some X servers, for more details.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123