lost w/o map in layout code

From: Francis James Franklin <postmaster_at_alinameridon.plus.com>
Date: Sat Oct 09 2004 - 22:08:31 CEST

I think this is a bug, but I don't know, and certainly wouldn't know
how to fix it, so please please help me...

Line 1025 of fp_Line.cpp [in void fp_Line::clearScreen(void)]:

        UT_sint32 iExtra = getGraphics()->getFontAscent()/2;

getFontAscent assumes there is a font and queries it for size, but
there isn't necessarily a font so I'm segfaulting :-(

Steps to reproduce (for CocoaAbi, anyway):

1. copy some plain text in a terminal
2. start abi
3. edit->paste

Deeply confused,
Frank
Received on Sat Oct 9 22:10:07 2004

This archive was generated by hypermail 2.1.8 : Sat Oct 09 2004 - 22:10:08 CEST