Wide 'W'

A forum for general AmigaOS 4.x support questions that are not platform-specific
djg
Posts: 30
Joined: Sat Jan 26, 2013 5:00 pm

Re: Wide 'W'

Post by djg »

broadblues wrote:I can't see that there is any bug here, you *should* check your textextent before rendering text and make any adjustments required for negative values etc.
I see, so not a bug then.
I never knew you had to do this. I haven't found anything about it in the SDK.
I wonder then why some fonts feel the need to extend one tiny bit to the left.
But if you have to check this, I suppose that does not matter.

BTW, I have found that it's not just the 'W'.
The characters v, J and V are "guilty" too. There may be others. :)
User avatar
gazelle
Posts: 102
Joined: Sun Mar 04, 2012 12:49 pm
Location: Frohnleiten, Austria

Re: Wide 'W'

Post by gazelle »

@broadblues

I still think this is a bug.
The first letter of a normal text should not expand to the left (except if you're writing from right to left).
djg
Posts: 30
Joined: Sat Jan 26, 2013 5:00 pm

Re: Wide 'W'

Post by djg »

gazelle wrote:@broadblues

I still think this is a bug.
The first letter of a normal text should not expand to the left (except if you're writing from right to left).
Well, to be honest I feel like that too. Because I see no good reason for it.
And to have to check for the extent without a good reason, needlessly complicates things, IMHO.
User avatar
trixie
Posts: 411
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: Wide 'W'

Post by trixie »

If you specifically ask to render text at position X, and Intuition writes the text at position X-1, then it is a bug.
The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Post Reply