Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We need to offer more fonts.
These fonts are all free to use for non-commercial projects.
Added 6 readable fonts plus 3 ideograms (Canthan, Ascalonian, Asuran)
Fixed New Krytan
Total: 9 fonts added.
Matching fonts
Elizabeth and Stowe Open Face which match the font in this picture.
PTSerif, Lato and Cagliostro which match the Guild Wars 2 main font. (See forum thread)
Other fonts
Stowe Titling (Same as Stowe Open Face but non-hull letters.)
GWTwo Font (known fan-made title font)
Typefaces/Ideograms from the game
Canthan Ideogram
Ascalonian
New Krytan (See https://www.properdave.com/gw2/)
Asuran
These fonts are pre-compiled and included in the project as "Content" with "Copy If New" set since this works way better and faster than to try and get fonts into the fnt format for MonoGame to process them with BMFont (Remember; I tried converting New Krytan before and it was not only tidious and complex but I only got loosely results.). It's also the method for ttfs described in MonoGame docs.Not anymore since this loads them as SpriteFonts which is incompatible with DrawStrgOnCtrl. I've converted every font to a BitmapFont and included them in the Content.mgcb.I added a small extension method to make use of an "Description" tag on enums because some font names included a dot and I thought I had to name the file names according to the reference to the installed fonts (for compilation) which I realized is not the case. I was able to rename the compiled versions. I kept the method because I think it might come in handy later (displaying friendly names for example).
I had to edit a little bit of code under the ContentService to fallback to Regular if the specified style is not available for a certain font (only the ideograms). We are able to offer every size but not every font has every style.
I would appreciate it very much if this set could be the exception in stuff that core doesn't directly use but offers to modules.