Dear all,

I am porting freetype to a "bare or rtos" system. 
This system supports fat file system and has "malloc" family routines.

Here is build log for this target:
https://paste.ubuntu.com/p/rxQsMTmtZV/

Here is build log on my pc, Ubuntu GNU/Linux:
https://paste.ubuntu.com/p/DjNkvGHPg3/

Here is my test program:
https://paste.ubuntu.com/p/Wm5hZtYt7p/

My Makefile on PC:

dump1: dump1.c
        gcc $<  -D__PC__ -L/home/du/source/freetype2/objs
-L/usr/lib/x86_64-linux-gnu -lfreetype -lz
-I/home/du/source/freetype2/include -I/usr/include/freetype2 -lm -o $@

But I can't get the correct font. This is the output 
when I use *Gb16st.pcf* , Google driver:   goo.gl/ZWqa4d


face sizeds: 1
          *----------------*
          |                |
          |                |
          |                |
          |                |
          |@       @       |
          |[email protected]@@  [email protected]@@  |
          |o.      .       |
          |o.      O.      |
          |        .       |
          |@.              |
          |O       @.      |
          |                |
          |@.              |
          |.       O       |
          |@@.O@@  @@.O@@  |
          |                |
          *----------------*
          |                |
          |                |
          |                |
          |                |
          |@       @       |
          |[email protected]@@  [email protected]@@  |
          |o.      .       |
          |o.      O.      |
          |        .       |
          |@.              |
          |O       @.      |
          |                |
          |@.              |
          |.       O       |
          |@@.O@@  @@.O@@  |
          |                |
          *----------------*
          |                |
          |                |
          |                |
          |                |
          |@       @       |
          |[email protected]@@  [email protected]@@  |
...
(more and more....)
...
FT_Load_Char: error=6
FT_Load_Char: error=6
FT_Load_Char: error=6
FT_Load_Char: error=6
FT_Load_Char: error=6
FT_Load_Char: error=6

Where should I start debugging?


Regards,
Du Huanpeng





_______________________________________________
Freetype mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype

Reply via email to