Re: XML file format - Linux vs Windows



On Tue, 18 Jun 2002, Tino Schwarze wrote:
On Tue, Jun 18, 2002 at 07:07:54PM +0200, Cyrille Chepelov wrote:

And the different fonts and resulting bounding box size mismatches
aren't producing irrelevant changes ?

I don't want to talk about fonts... :-< (Courier seems to work ok :-/)

As for the bounding boxes - I had noticed they changed a lot, and
presumed they must be tied to screen resolution or something...
Getting them the same would be great...

They are a lot influenced by the screen resolution and the font
renderer's idea of the rendered width of a given string. There is little
we can do here.

Why do bounding boxes get saved at all? To me it looks like they should
be computed after loading the file.

It's not a question of saving the bounding boxes.  The problem is that the
size of the text determines the size of the surrounding box.  If the text
doesn't scale linearly, the size of the box is indeterminate.

-Lars

-- 
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| 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]