Re: Font scaling [Was: XML file format - Linux vs Windows]

On Thu, 20 Jun 2002, Ian Britten wrote:
On Wed, 19 Jun 2002, Lars Clausen wrote:

We have, and I did in fact make a renderer that uses it.  If you take
the 0.90 tarball and compile with --enable-freetype, you can see pretty
antialiased TrueType fonts.

I started out to try this, but am running into a SEGV :-(  I haven't
looked too closely at it yet, so I'm not sure whether its dia (0.90) or
freetype (2.0.9).
Here's the stacktrace, in case anyone recognises it:

Program received signal SIGSEGV, Segmentation fault.
0x4036f610 in ps2_hints_apply () from /usr/lib/
(gdb) where
#0  0x4036f610 in ps2_hints_apply () from /usr/lib/
#1  0x403517ca in FT_Get_Postscript_Name () from /usr/lib/
#2  0x080a2d55 in dia_add_freetype_font ()
#3  0x4024ddaf in g_hash_table_foreach () from /usr/lib/
#4  0x080a3504 in font_init ()
#5  0x0806fc53 in app_init ()
#6  0x0809b5a7 in main ()
#7  0x4041a5b0 in __libc_start_main () from /lib/

If I find anything more, I'll let you know.  (FWIW, I'm pretty sure that
we use FT_Get_Postscript_Name() when printing, and it works for us :-/)

Sounds like a font is confusing either Dia or Freetype.  Maybe try it with
just a few simple fonts?  You could isolate the problem by printing out
the Freetype name before FT_Get_Postscript_Name.


Lars Clausen (| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?

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