freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft] porting: Where should i start debugging


From: duhuanpeng
Subject: [ft] porting: Where should i start debugging
Date: Sat, 3 Mar 2018 14:48:20 +0800

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
          *----------------*
          |                |
          |                |
          |                |
          |                |
          |@       @       |
          |address@hidden@@  address@hidden@@  |
          |o.      .       |
          |o.      O.      |
          |        .       |
          |@.              |
          |O       @.      |
          |                |
          |@.              |
          |.       O       |
          |@@.O@@  @@.O@@  |
          |                |
          *----------------*
          |                |
          |                |
          |                |
          |                |
          |@       @       |
          |address@hidden@@  address@hidden@@  |
          |o.      .       |
          |o.      O.      |
          |        .       |
          |@.              |
          |O       @.      |
          |                |
          |@.              |
          |.       O       |
          |@@.O@@  @@.O@@  |
          |                |
          *----------------*
          |                |
          |                |
          |                |
          |                |
          |@       @       |
          |address@hidden@@  address@hidden@@  |
...
(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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]