LC no longer manipulates text directly to produce styles, it now uses the equivalent font. This happens with all text styles including bold, italic, etc. If the font family includes a styled version it is used, otherwise there is no change.

I can't remember if the swap happens automatically in all cases. Recently I needed a bold font and it didn't work, I had to install the bold version of the font and use that instead. I think that was because the bold version was its own font family.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



On February 17, 2018 10:12:24 AM Peter Bogdanoff via use-livecode <use-livecode@lists.runrev.com> wrote:

Yes, Richmond, I had the same results trying to set text in LC 8.7. A script will set chars to “condensed” but the spacing doesn’t change, and the visual look is degraded. Maybe with a LC upgrade along the line somebody forgot about those styles, and no one noticed? I can understand that to maintain compatibility with HTML 5, the <condensed> and <expanded> tags might be dropped. But that should come much later.

Peter

On Feb 17, 2018, at 4:02 AM, Richmond Mathewson via use-livecode <use-livecode@lists.runrev.com> wrote:

That reference is all about htmlText . . .

Having a look at Revolution Media Build 950 Version 4.0.0 on Mac OS 10.7.5 . . .

[Not as daft as I look: always a good idea to hang onto old, licensed versions.]

I found this:

set the textStyle of line 1 of field "Main" to condensed

So; like Hank Wangford in search of "the Lonesome Yodel" I climbed onto Rosinanti #2 and set forth:

4.5: still there.

7.1.4: gone.

That looks like a deliberate choice.

Mind you, doing this in RR 4.5:

set the textStyle of fld "gg" to condensed

is horrible: it does NOT condense the text at all,
merely  makes things look like something bitmapped from about 1996.

Opening the stack containing a field with condensed text that I authored in RR 4.5 in LC 8.1.9
is interesting insofar as:

the text in fld "gg" does NOT look condensed, BUT on doing this in the Message Box:

put the textStyle of fld "gg"

I get "condensed" . . .

A bad case of 'The Phantom of the Opera'.

Best, Richmond.


On 17/2/2018 5:41 am, Peter Bogdanoff via use-livecode wrote:
Did support for the text styles “expanded” and “condensed” disappear at some point from Livecode?

I see in this that they were added in the misty past:

http://docs.runrev.com/Property/HTMLText

They are not in the dictionary now, or Font menu, and setting those with a script doesn’t work.

I loved using those styles in Hypercard back in the day…

Peter Bogdanoff
ArtsInteractive
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to