Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External .fon support #1669

Open
fdelapena opened this issue Mar 5, 2019 · 1 comment

Comments

@fdelapena
Copy link
Contributor

commented Mar 5, 2019

EasyRPG Player already depends on FreeType. Time before getting Shinonome and other fonts embedded into Player, this support for .fon was required. So this could be provided for external .fon somewhere (e.g. [EasyRPG] section with custom entries in RPG_RT.ini) and verify it still works as expected. This is a feature request based on the @elvissteinjr's community post.

#748 (comment) already mentions this proposal and might be part of this feature, but this one is intended to track specific issues with .fon files.

Some tests to keep in mind:

  • RMG2000.FON provided by Don's RTP used bad sizes for most glyphs, this may be verified by trying the .fon in some apps. They need to fit in the 6x12 to behave as in RPG_RT. Related crash: #35 .
  • Try with games which provide custom .fon (there is a significant amount of games providing them, e.g. OFF optional fonts).
  • Fallback glyphs to built-in when the font does not provide some of them (ugly, but better than nothing).
  • Detect font encodings if possible and provide some logging or warn for developers if current encoding is not supported by the font.
@Ghabry

This comment has been minimized.

Copy link
Member

commented Mar 5, 2019

I would like to handle this because otherwise I have to rebase all my FT and HB code ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.