[futurebasic] Re: TEXT/styl italics truncate in EF

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : March 1998 : Group Archive : Group : All Groups

From: BMichael <BMichael@...>
Date: Sat, 7 Mar 1998 14:51:10 EST
Michel said:
(discussion of PostScript, etc.)
>I suspect that the Style definition slant the plain font to create an
>italic, without taking in account the resulting extra character width.
>Edit fields truncate trailing spaces. Adding many won't help but you can
>use "forced spaces" by typing a space while holding the option key down.

All true, but; The problem isn't at the end of the edit field, where 
trailing spaces would be truncated, but in the middle of it. Option-space 
and "regular" space still give the chopped-off italics.

Jim said:
>If the FOND doesn't have a TRUE Italic version .. The "Forced" Italic 
>"Leans Right" out of its Width .. So the last letter gets "Chopped" .. 
>Even by a space ..
>What I did .. Long time ago (With FonTastic) was .. Open a Char that is 
>not used .. 
>such as " @ " .. Blanked it .. So .. at the end of every "Last" italic 
>letter .. I typed it  .. instead of a space .. then put a space .. 

This worked; but I've got hundreds of TEXT resources, with anywhere from 
one to a dozen italicized words in each. And _no_ desire to edit all of 
those...

Rick said:

>set the copy mode to _srcOr

BINGO! I hate it when I don't understand _why_ something works, though; 
I'd think that since it's a styled edit field, the style info would 
"override" anything that was set beforehand. <sigh> All I can figure is 
that the styl resource doesn't include the copy mode, so the copy mode 
carries through. Oh well. It works; I'll use it and not worry about why!

Thanks all!

Bill