[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Problems in GF_Glyph_Load function.
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Problems in GF_Glyph_Load function. |
Date: |
Fri, 06 Jul 2018 19:30:53 +0200 (CEST) |
> While debugging through the `GF_Glyph_Load' function in `gfdrivr.c',
> I found out that the typecasting of `FT_Face' into `GF_Face' is not
> working properly. In, `GF_Face gf = (GF_Face)FT_SIZE_FACE( size
> );', when I extract the `gf_glyph' element from `gf', it is unable
> to return the glyph bitmap table. Can anyone please point out where
> the error can be.
Obviously, the size object doesn't contain the right GF_Face object.
Hard to say more without running the debugger. I suggest that you
check the address of the created GF_Face object; it should be the same
as returned by FT_SIZE_FACE. If you get a different address you have
to find out where the FT_Face object within FT_Size is set and
possibly changed. To track changes, you can probably use the
watch -l ...
command within gdb.
Werner
- [ft-devel] Problems in GF_Glyph_Load function., Parth Wazurkar, 2018/07/06
- Re: [ft-devel] Problems in GF_Glyph_Load function.,
Werner LEMBERG <=
- Re: [ft-devel] Problems in GF_Glyph_Load function., Parth Wazurkar, 2018/07/06
- Re: [ft-devel] Problems in GF_Glyph_Load function., Werner LEMBERG, 2018/07/06
- Re: [ft-devel] Problems in GF_Glyph_Load function., Parth Wazurkar, 2018/07/07
- Re: [ft-devel] Problems in GF_Glyph_Load function., Parth Wazurkar, 2018/07/07
- Re: [ft-devel] Problems in GF_Glyph_Load function., Werner LEMBERG, 2018/07/08
- Re: [ft-devel] Problems in GF_Glyph_Load function., Parth Wazurkar, 2018/07/08