Hi Martin,
DOSBox-X looks for font files in the host system, not the drives or directories inside the emulator. So for example you can put Nouveau_IBM.ttf file in the same directory as the DOSBox-X executable and set “ttf.font=Nouveau_IBM” (or “ttf.font=Nouveau_IBM.ttf”) to use it. Since I believe you use Windows, DOSBox-X will also look for the Windows fonts directory, and fonts such as consola.ttf, lucon.ttf and vgasys.fon are usually found in it, so you can just set one of the following to use one of them:
ttf.font=consola
ttf.font=lucon
ttf.font=vgasys.fon
(similar for other font files)
As for the information about mounting drives, it is mostly for new users who may accidentally mess up with system files if they have complete access to the system drive. On the other hand, experienced users can probably just ignore it and may actually want to set automountall=true to automatically mount all host drives inside the emulator.
Hope this helps.
Wengier
Many thanks, Wengier. I was confused about where DOSBox-X looks for font files.
If I may, let me ask another question. The documentation for DOSBox-X says
"it is not recommended to mount your whole Windows Drive C: inside DOSBox-X because DOSBox-X will then be able to access all files and directories in your Windows Drive C:, which may not be very safe."
Why might it not be safe?
Martin
Hi Martin,
DOSBox-X supports virtually all monospaced TrueType fonts. Actually not just TTF fonts, other font types like OTF fonts (e.g. OratorStd.otf), FON fonts (e.g. vgasys.fon), and TTC fonts (e.g. msgothic.ttc) are supported too, which I have verified myself. If you see the message "Could not load font file", it means that the font file itself cannot be found or loaded (e.g. incorrect path or permission denied), not that the font format is not supported (a different error will show in such case). DOSBox-X does try to find the font file in the current path, the DOSBox-X executable path and the Windows font path (or default Linux/macOS font path), but maybe the font path you specified is not entirely correct. Hope this helps.
Wengier
Happy New Year!
Thanks, Wengier, for all your work.
Is it possible to use any TrueType font, or only some? I have one that gives the error "Could not load font file", even though there appears to be nothing wrong with the file.
Martin
This is the first release in this new year (2021). Happy New Year everyone!
Hi all,The latest version of DOSBox-X (0.83.9) is now officially released. As a cross-platform DOS emulator, there are quite a few improvements in this new release compared with the previous version 0.83.8, such as improved support for TrueType font (TTF) output and on-screen text styles (e.g. use actual bold/italic/bold italic fonts), much improved printing system, enhanced serial and parallel ports and options, support for time synchronization with the host, support for mounting ZIP or 7Z archives, support for selecting and copying text to clipboard via the keyboard, and many more. You can find the DOSBox-X 0.83.9 release notes here:https://dosbox-x.com/release-0.83.9.htmlWindows installer and Linux RPM/Flatpak packages are officially available to ease the installation, in addition to other packages including portable packages for Windows, macOS and DOS. You will find the official downloads for them from the DOSBox-X homepage:https://dosbox-x.com/Direct download to the Windows installer (many thanks to Edward Mendelson for code-signing it):dosbox-x-windows-0.83.9-setup.exeFor Linux, both RPM and Flatpak packages are officially available. The official Linux Flatpak package is available from the DOSBox-X Flathub page: https://flathub.org/apps/details/com.dosbox_x.DOSBox-XAs for macOS, there are portable packages for both the Intel-based Mac and the new ARM-based Mac. You can find them from the DOSBox-X homepage.Please check out the new release.Note: As with the previous version please set "output=ttf" (and optionally a TTF font of your choice with ttf.font option) for the TrueType font output.
For the on-screen text style feature, please set "ttf.wp=XY" or "ttf.wp=XY4" for XyWrite.
Also, as with the previous version you probably want to set "core=dynamic" and "cycles=max"
in the config file (dosbox-x.conf) for speed.
Thanks a lot for your support!
Sincerely,
Wengier
--
--