Skip to content

FreeType2 font renderer #484

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

Merged
merged 18 commits into from
Dec 11, 2016
Merged

FreeType2 font renderer #484

merged 18 commits into from
Dec 11, 2016

Conversation

yvt
Copy link
Owner

@yvt yvt commented Dec 10, 2016

Ported from the ngspades branch with some additions.

Demonstrating custom TTF/OTF support:

(The font used here is Google Noto Sans CJK JP.)

All texts, especially CJK ones are rendered at much better quality. Installing custom fonts will be much easier, as users no longer have to convert a font before using it.

  • Travis CI build fails for some reason

@kmsiapps
Copy link
Contributor

Wow, It looks perfect! ;)

@feikname
Copy link
Collaborator

feikname commented Dec 11, 2016

In file included from /home/travis/build/yvt/openspades/Sources/Client/FTFont.cpp:22:0:
/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory
 #include <freetype/config/ftheader.h>

Missing dependency?

EDIT: It was a missing include path

@feikname
Copy link
Collaborator

feikname commented Dec 11, 2016

I will test something I found here

EDIT: Those two are more useful: 1 2

@yvt yvt merged commit 2d0ae3b into master Dec 11, 2016
@yvt yvt deleted the patch-freetype branch December 11, 2016 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants