Allow using multiple ttf files with separate styles of same family #220
			No reviewers
			
				
				
			
		
		
		
	
	
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	RGSS accuracy
		
			bug
		
			compilation
		
			discussion
		
			documentation
		
			duplicate
		
			enhancement
		
			invalid
		
			performance issue
		
			port request
		
			question
		
			ruby incompatibility
		
			wontfix
		
		
	
		No milestone
		
			
		
	
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		1 participant
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
		Reference: MapleShrine/mkxp#220
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a 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
BoostHashis 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_mapinboost-hash.hwithstd::mapand it just works; do the same thing forunordered_setand 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
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.