flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
vid 04 Feb 2011, 12:28
AFAIK there are some libraries that can to do it, but I never ever used them. Take a look at freetype.org, for example.
Why do you have to do that? |
|||
![]() |
|
JohnFound 04 Feb 2011, 12:40
vid wrote: Why do you have to do that? |
|||
![]() |
|
pelaillo 04 Feb 2011, 14:35
Quote:
is cairo enough low level for you? or xft? Or do you mean XloadFont, XCreateGC, XDrawText, XFreeFont? |
|||
![]() |
|
JohnFound 04 Feb 2011, 14:46
pelaillo wrote: is cairo enough low level for you? or xft? Well, XLib is ok for me. But XLoadFont and other X functions use only bitmap fonts. Or I am wrong? Is it possible to make XLib (actually X server) to use vector fonts... Now I am reading FreeType documentation. It probably will do the job, but the implementation is really weird - you need to render the string char by char on bitmaps and then to draw the bitmaps to the screen. |
|||
![]() |
|
pelaillo 04 Feb 2011, 15:46
Quote:
Not weird, is the thing that every other library needed to do, just that the implementation is hidden in a more high level DrawString function... XftFontOpenName -> XftTextExtents16 -> XftDrawCreate -> XftDrawString16 |
|||
![]() |
|
JohnFound 04 Feb 2011, 15:54
Yea, Xft is probably exactly what I need.
About FreeType you are right of course - it is only rendering engine. Not a library for application programming. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.