pathway27 / bookr-mod-vita

A book reader for the Vita and Switch. Still a work in progress.
GNU General Public License v3.0
64 stars 3 forks source link

Font Rendering in OpenGL #1

Closed pathway27 closed 3 years ago

pathway27 commented 7 years ago

https://wildfiregames.com/forum/index.php?/topic/17365-freetype-ttf-fonts-in-opengl/

ebraminio commented 7 years ago

If we could bring something like http://www.pango.org that would be best as it supports lots of things out of the box like complex scripts rendering and such however that would be a hard task, for starters, it needs harfbuzz and cairo itself which itself would be hard task I guess. Also pango doesn't provide a cmake file but https://github.com/Microsoft/vcpkg/blob/master/ports/pango/CMakeLists.txt can be used I guess.

ebraminio commented 7 years ago

Simpler solutions are also possible like this https://github.com/ebraminio/glcourse/blob/master/hello-harfbuzz-gl.cc

Invictaz commented 4 years ago

Maybe use VitaGL? It's recently been added to VitaSDK

pathway27 commented 4 years ago

Oh really, I'll check it out. Thanks!

Invictaz commented 4 years ago

@pathway27 https://twitter.com/Rinnegatamante/status/1274297243315703808?s=19

ebraminio commented 4 years ago

Does it do font rendering? Wished could suggest libraqm https://github.com/HOST-Oman/libraqm#projects-using-raqm but first I have to put fribidi and raqm to packages https://github.com/vitasdk/packages

Invictaz commented 4 years ago

@ebraminio not sure. However intra font like on the psp should be avoided on Vita.

pathway27 commented 3 years ago

Freetype is fine.