Closed AdamBucior closed 6 years ago
Did you manage to run the demos bundled with freetype-gl?
What are the messages?
Most probably the harfbuzz library is missing on your system.
No, but then you have to disable the building of the harfbuzz demo.
W jaki sposób wgrałeś glfw do freetype, bo kurczę nie wiem jak to zrobić ;/
Tak, tylko, że jak pobieram ftgl to nie mam glfw wgranego w folder więc muszę go pobrać, zbudować i wtedy jakoś wrzucić to freetype.
you have to configure cmake before building and look at the different options. Also, fontconfig is missing (header files probably)
Have a look at cmake documentation, it is explained.
You have to disable Doxygen with this: cmake -Dfreetype-gl_BUILD_APIDOC=OFF
ftgl-master - and add glfw to ftgl
I do not know.
Have the same problem. Maybe @rougier knows what to do with it or knows a person who'd help.
After installing GLFW (using CMake), in ${CMAKE_INSTALL_PREFIX)/lib/cmak/glfw3 there are config files needed (glfw3Config.cmake and others). When configuring freetype-gl in CMake add entry glfw3_DIR and set it to ${CMAKE_INSTALL_PREFIX)/lib/cmak/glfw3 (replace ${CMAKE_INSTALL_PREFIX} with real directory). If this won't help, specify GLFW3_INCLUDE_DIR, GLFW3_LIBRARY_DIR and GLFW3_LIBRARY.
czw., 14 cze 2018 o 21:31 DonTweaks notifications@github.com napisał(a):
Have the same problem. Maybe @rougier https://github.com/rougier knows what to do with it or knows a person who'd help.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rougier/freetype-gl/issues/185#issuecomment-397412088, or mute the thread https://github.com/notifications/unsubscribe-auth/AF0jIBTj-BJZ5qTBqEdfbyL5mjt-sXqZks5t8roHgaJpZM4UVQXP .
Specify GLFW3_INCLUDE_DIR, GLFW3_LIBRARY_DIR, GLFW3_LIBRARY and check, I don't know.
sob., 16 cze 2018 o 19:11 Adam notifications@github.com napisał(a):
Must I instal GLFW using cmake? Can't i just have lib file?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rougier/freetype-gl/issues/185#issuecomment-397826549, or mute the thread https://github.com/notifications/unsubscribe-auth/AF0jIApMAQ4us5dCwhKPsEW1B0SVZ-ziks5t9TxMgaJpZM4UVQXP .
glfw3Targets.cmake
glfw3Targets.cmake
cd buildglfw
press enterglfw3Targets.cmake
glfw3Targets.cmake
build the binaries
@rougier Could you correct my mistakes and highlight this comment to all people with trouble, please?
What do you mean correct my mistakes? And I'm not sure how to highlight the comment. Maybe you can open a new issue with just the installation procedure for windows.
Language mistakes, I believe
Language mistakes, I believe
Maybe you can open a new issue with just the installation procedure for windows.
Sure
I'm having the same problem, can you please share your solution?
I think the solution is a few posts above.
sorry for bothering i also have a similar problem with the same episode . i get text to draw the blocks the right shape but they are all just black no letters of any color at all .
Did you tried the prosposed solution? If yes, please open a new issue describing the problem (with a link to this issue).
can any one ask adam0310 what he did because the solution does nothing to the problem i still get the black blocks. pls and tanx
should i post my code or a link to the code i alredy have posted (hear is the link) https://www.reddit.com/user/LordVeggie/comments/9eyd1l/freetype_gl_not_rendering_any_font_i_get_a_black/
Did you manage to run one of the demo? Is the output correct? If not, maybe it's better to open a new issue with a screenshot of your outputs on the demo.
found the solution down load the code of cherno (freetype gl only and past it over the freetype code you down loaded from freerype gl website ) . then go to line 303 in texture-atlas.c and make the( #if 0 TO A #if 1) then you should have the text rendering
Is there any error message in the console ?