Font missing the left outline edge in portrait speech...

Started by Technocrat, Mon 17/02/2014 12:11:47

Previous topic - Next topic

Technocrat

I've created a custom font, and a custom outline to go with it (since the automatically-generated one wasn't thick enough), but what I've noticed when using the portrait speech is that the left-most part of the outline (i.e. two pixels) are cut off.

I imagine that this is the result of it over-running the edge of a GUI used to house the text when it's being displayed on screen, and only taking the left of the text (but not the outline) in to account. Regular speech seems to work exactly as hoped, just the portrait style. No matter how wide the block of text is, it'll always cut off the left edge.



The only thing I've found for anything like this problem comes from information about an update to AGS in 2003. Does anyone have any more up-to-date guidance?

Merci!

Mandle

Quote from: Technocrat on Mon 17/02/2014 12:11:47
I've created a custom font, and a custom outline to go with it (since the automatically-generated one wasn't thick enough), but what I've noticed when using the portrait speech is that the left-most part of the outline (i.e. two pixels) are cut off.

I imagine that this is the result of it over-running the edge of a GUI used to house the text when it's being displayed on screen, and only taking the left of the text (but not the outline) in to account. Regular speech seems to work exactly as hoped, just the portrait style. No matter how wide the block of text is, it'll always cut off the left edge.



The only thing I've found for anything like this problem comes from information about an update to AGS in 2003. Does anyone have any more up-to-date guidance?

Merci!

I would like to put forward a suggestion to try out:

Cut out the hyphen in your text and then try it again...

Does it still crop the image?

During the English version production of Donald Dowell we had all kinds of problems with hyphens in AGS text not allowing the following text to be properly outlined.

It seemed like AGS did not have an accurate count of the number of pixels long a hyphen character was as the rest of the text's outline would shift one or two pixels out of line with the main text per hyphen.

It was eventually just solved by cutting out most of the hyphens whenever possible...

I'm just wondering if this flaw in AGS is resulting in your cropping issues?

EDIT: Also your text should read:

"A lot of kids these days are affected by it."

Technocrat

It's not the hyphen, I'm afraid - it appears in every piece of spoken text when the portraits are being used.

Thanks for the grammar, but in this case it's just how the character speaks - I'm aware of how it's supposed to be! :-D

Mandle

Quote from: Technocrat on Mon 17/02/2014 13:41:43
It's not the hyphen, I'm afraid - it appears in every piece of spoken text when the portraits are being used.

Thanks for the grammar, but in this case it's just how the character speaks - I'm aware of how it's supposed to be! :-D

And yet once again Mandle proves to be of no help whatsoever!!!

He gathers up his ratty crepe paper cape and dashes off to non-assist another unsuspecting victim!!!

SMF spam blocked by CleanTalk