rougier / freetype-gl

OpenGL text using one vertex buffer, one texture and FreeType
Other
1.65k stars 266 forks source link

harfbuzz build error using freetype-gl-err #285

Open Radiant-Waffle opened 1 month ago

Radiant-Waffle commented 1 month ago

I've been trying to build the library with Harfbuzz on, as my project uses Arabic characters. The latest commit doesn't seem to work and This issue seems to be related. However, this (A) merge is where the problem is first introduced. Initially, I thought that this (B) merge was the problem. It looked like the freetype-gl-err files are added, but then at this point, the files are removed to match the changes on master. The same changes never got carried over to the harfbuzz folder where the symlinks are now broken. Trying the build from the first commit (A), I found that the problem was actually here. It looks like the refactoring that was done here was never carried to the harfbuzz part. I'm not really competent enough to refactor the harfbuzz implementation on my own, but if someone is familiar with how to accomplish this, that would really be appreciated. The commit before is the latest commit where the harfbuzz stuff actually works.

rougier commented 1 month ago

Thanks for the precise report. I do not have much time right now to investigate but your analysis would certainly help. By the way, what is your system (window, linux, osx)?

Radiant-Waffle commented 1 month ago

I'm running an Ubuntu VM, version 20.04