Skip to content

Font filetype priority, font rendering issues, ignoring bitmap fonts contained within .ttf / .otf #2953

@Goburinbro

Description

@Goburinbro

Name of the game: Test Project

Player platform: PC x86 .exe, recent nightly build

Attach files (as a .zip archive or link them)

  • Test Project is attached.
  • All necessary fonts are included in the \Font folder. You may copy/paste/delete/etc them and rename them as needed to make the necessary observations.
  • A version of the .ttf font with a bitmap in it is included as well. You can verify that a bitmap font is in there with FontForge or some other font viewing/editing tool.
  • A recent release of RPG_RT.exe Maniacs Patch is also included if you need to launch the game that way for observations.

image
image

Describe the issue in detail and how to reproduce it:

  • EasyRPG player renders all fonts for screen text & Show String Picture 100% fine when a .fon is used.
  • EasyRPG player does not render fonts correctly for Show String Picture when a .ttf or .otf is used.
  • EasyRPG gives priority to .ttf or .otf if multiple fonts with the same name are present in the Font folder (if Mother 2 12px.fon and Mother 2 12px.ttf are in the Font folder together, it will ignore the .fon version).
  • EasyRPG player ignores bitmap fonts that are contained within .ttf / .otf fonts and simply renders text based on the font outlines instead of using the bitmap (which should display correctly since a .fon on its own does).

Test Project.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions