The Bitstream VERA font, the first truely crossplatform solution
Dom
mcdomi at free.fr
Sun Feb 8 09:45:40 EST 2004
Jeanne A. E. DeVoto <revolution at jaedworks.com> wrote:
> Sorry. It was difficult to design this in, because the way styles in
> fields are architected currently, any change to font, size, style, or
> color sets all of them. For example, if you have a field of 11-point
> Verdana, and you boldface one word, the word's font and size are set
> to Verdana 11 - so if you change the field to New York 18, for
> example, the boldfaced word will still be Verdana 11.
I tried via the Application Browser, and it was a pain -- and absolutely
unreliable ;->
Anyway, how about to make the textsize *relative* (to a stack default
textsize) a la HTML (<font size="+1">) and not *absolute*?
I went around this by *exporting* the html text / text of fields to
another stack:
=====
on mouseup
lock screen
lock messages
lock recent
put number of cds of stack "cookbook" into nbc
repeat with c =1 to nbc
put fld "topic" of cd c of stack "cookbook" into fld "topic"
put fld "problem" of cd c of stack "cookbook" into fld "problem"
put fld "code" of cd c of stack "cookbook" into fld "code"
set the htmltext of fld "discussion" to the htmltext of fld
"discussion" of cd c of stack "cookbook"
select text of fld "discussion"
set the textsize of the selection to "16"
select empty
create card
set the cursor to busy
end repeat
end mouseup
=====
Not to say that the exported stack as not any fancy navigation handler
that reside in the original help ;->
> The documentation has a lot of style changes, so what this means in
> practice is that to change the doc font or size, you need to go
> through all the style runs on each of the thousands of cards in the
> documentation, and change the font and size for each of them. This
> can be done in a script but it takes too long to be practical as a
> preference setting. (But if the architecture changes to allow this to
> be fast, I'm sure it will be done.)
;-)
Also, Frédéric RINALDI translated the RR 1.1.1 doc in french, and added
a welcomed button to export the doc as html files (or text, or RTF).
And, viewed in a browser, ti's a matter of CMD-+ to enlarge a font ;-)
--
Vous parlez français ? faites un tour sur le groupe francophone !
revolutionfr-subscribe at yahoogroupes.fr
More information about the use-livecode
mailing list