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

Allow using multiple ttf files with separate styles of same family #220

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pulsejet
Copy link

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.

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.
@carstene1ns
Copy link
Contributor

I really hoped we could be boost-free nowadays... 😞

@pulsejet
Copy link
Author

pulsejet commented May 12, 2019

@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 of boost::unordered_map in boost-hash.h with std::map and it just works; do the same thing for unordered_set and you no longer need to compile boost).

@Ancurio
Copy link
Owner

Ancurio commented May 13, 2019

Yeah, I wrote BoostHash just to mimic the API of QHash, its predecessor.

@Ghabry
Copy link

Ghabry commented Jul 3, 2019

@pulsejet well there is still boost::program_options which is not trivial to replace or do you have an alternative for this? :o

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants