Allow using multiple ttf files with separate styles of same family #220
No reviewers
Labels
No Label
RGSS accuracy
bug
compilation
discussion
documentation
duplicate
enhancement
invalid
performance issue
port request
question
ruby incompatibility
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MapleShrine/mkxp#220
Loading…
Reference in New Issue
No description provided.
Delete Branch "pulsejet/fontstyle"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is done by keeping a BoostHash of all the styles we have and their corresponding paths, and passing the style when we want to get the font.
I really hoped we could be boost-free nowadays... 😞
@carstene1ns
BoostHash
is not boost xD. I'm using it just for consistency. This actually would make it easier if we wanted to transition that class to C++11 (you can literally replace all instances ofboost::unordered_map
inboost-hash.h
withstd::map
and it just works; do the same thing forunordered_set
and you no longer need to compile boost).Yeah, I wrote BoostHash just to mimic the API of QHash, its predecessor.
@pulsejet well there is still boost::program_options which is not trivial to replace or do you have an alternative for this? :o
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Forgejo.