Skip to content

External .fon support #1669

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

Closed
fdelapena opened this issue Mar 5, 2019 · 2 comments
Closed

External .fon support #1669

fdelapena opened this issue Mar 5, 2019 · 2 comments
Labels
Feature Request Fonts Patch available Settings All about customizable features, storing and applying them
Milestone

Comments

@fdelapena
Copy link
Contributor

fdelapena 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: RMG2000.fon corrupts heap #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
Copy link
Member

Ghabry commented Mar 5, 2019

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

@fdelapena fdelapena added this to the 0.7.0 milestone Dec 4, 2019
@fdelapena fdelapena added the Settings All about customizable features, storing and applying them label Jun 10, 2021
@Ghabry Ghabry modified the milestones: 0.7.1, 0.7.2 May 29, 2022
@Ghabry Ghabry modified the milestones: 0.7.2, 0.7.1 Nov 4, 2022
@Ghabry
Copy link
Member

Ghabry commented Nov 13, 2022

Closed by #2855

@Ghabry Ghabry closed this as completed Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request Fonts Patch available Settings All about customizable features, storing and applying them
Development

No branches or pull requests

2 participants