1
General / Re: Can you integrate allegro into an sfml window?
« on: Today at 08:25:35 am »
Those are OpenGL functions, you'll also have to link OpenGL.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
I wonder if that advance is ever used in normal LTR text too or just for column writing systems. FT docs don't say. sf::Text and sf::Font are also a bit iffy for RTL text (technically you can reverse your string before inputting it but that's a bit of a hack to make RTL be just LTR backwards), and has 0 shaping needed for cursive scripts (like HarfBuzz has).Eventually, we'll be integrating HarfBuzz, but we'd first have to solve the dependency issue.
but with this i have a black background on my textYou'll need to clear the RenderTexture with a transparent color (alpha = 0).
Searching online i've found this https://www.sfml-dev.org/tutorials/2.4/graphics-vertex-array.php , i think is exctly what i was looking for probably, rigt?Yes, this shows you how to utilize a vertex array.