fonts & styles

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

fonts & styles

Charles Hartman
I have fields containing a lot of text, mostly in "owner's font,"  
"plain," but with some pieces in a specified font and other pieces in  
styles bold, link, etc.

When I change the owner's font (in this case, the main stack's), the  
changes in the text on the cards' fields are inconsistent.

In particular, every time there's a style change (into & out of bold  
for example, link, etc), a "font" tag gets inserted, hard-wiring  
whatever the owner's font *was* at the time the text was edited. So  
the next time the owner's font changes, it affects everything *up to*  
that style change, but after that the old font is wired in place.

I"m editing the text in the Contents pane of the Inspector. Doing  
this in the Encoded Text Picker doesn't seem to help. It must be  
behavior in the Rev engine I suppse.

I'm not able to think of a way not to call this a serious bug. Is  
there a workaround?? Am I missing something basic?


Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[hidden email]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: fonts & styles

Eric Chatonet
Hi Charles,

Rev has a weird behaviour we discussed on this list a long time ago:
If the font is the owner's font and the size the owner's size , there  
are no problem.
But once you have changed the size or the style of such a chunk, the  
font of this chunk is no longer the owner's font (empty) but the  
*effective* owner's font.
If I remember correctly, this is not a bug but falls within a runRev  
choice that we do regret.

Le 8 juil. 05 à 17:00, Charles Hartman a écrit :

> I have fields containing a lot of text, mostly in "owner's font,"  
> "plain," but with some pieces in a specified font and other pieces  
> in styles bold, link, etc.
>
> When I change the owner's font (in this case, the main stack's),  
> the changes in the text on the cards' fields are inconsistent.
>
> In particular, every time there's a style change (into & out of  
> bold for example, link, etc), a "font" tag gets inserted, hard-
> wiring whatever the owner's font *was* at the time the text was  
> edited. So the next time the owner's font changes, it affects  
> everything *up to* that style change, but after that the old font  
> is wired in place.
>
> I"m editing the text in the Contents pane of the Inspector. Doing  
> this in the Encoded Text Picker doesn't seem to help. It must be  
> behavior in the Rev engine I suppse.
>
> I'm not able to think of a way not to call this a serious bug. Is  
> there a workaround?? Am I missing something basic?


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [hidden email]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: fonts & styles

Charles Hartman
I'm afraid I can't see how to call it not a bug.

Let me put it another way. If I want all text in a field that doesn't  
have a specified font to be in the owner's font -- isn't that the  
whole idea of inheritance? -- then why should that _font_ setup be  
overridden by a _style_ setting? That is, why would Rev insist on  
inserting a <font> tag in the htmlText rather than using the for  
example <a> and </a> tags and leaving the font alone? (Linking font  
and size makes sense, I think; linking font and style doesn't.)

Isn't this problem going to arise with any stack that's meant to run  
on more than one platform, for example?

Or to put it yet another way: don't mean to be obstreperous, but how  
to I work around this "feature"?

Charles Hartman

On Jul 8, 2005, at 11:32 AM, Eric Chatonet wrote:

> Hi Charles,
>
> Rev has a weird behaviour we discussed on this list a long time ago:
> If the font is the owner's font and the size the owner's size ,  
> there are no problem.
> But once you have changed the size or the style of such a chunk,  
> the font of this chunk is no longer the owner's font (empty) but  
> the *effective* owner's font.
> If I remember correctly, this is not a bug but falls within a  
> runRev choice that we do regret.
>

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: fonts & styles

Eric Chatonet
In reply to this post by Eric Chatonet
Hi,

Just an addendum to my last post to be clear:

Create a new stack and a field.
Type anything in it.
Select any word and check its font in the Text menu: it's the owner's  
font.
Set the style of this word to bold (or change its size, etc.)
Check the font in the Text menu: it's no longer the owner's font but  
now it's the *effective* owner's font which appear check-marked.

May be Ken (if you hear me :-) could provide some regex to strip the  
font tags when they are specifying the owner's font in the html text?
Would be a solution?

Le 8 juil. 05 à 17:32, Eric Chatonet a écrit :

> Hi Charles,
>
> Rev has a weird behaviour we discussed on this list a long time ago:
> If the font is the owner's font and the size the owner's size ,  
> there are no problem.
> But once you have changed the size or the style of such a chunk,  
> the font of this chunk is no longer the owner's font (empty) but  
> the *effective* owner's font.
> If I remember correctly, this is not a bug but falls within a  
> runRev choice that we do regret.
>
> Le 8 juil. 05 à 17:00, Charles Hartman a écrit :
>
>
>> I have fields containing a lot of text, mostly in "owner's font,"  
>> "plain," but with some pieces in a specified font and other pieces  
>> in styles bold, link, etc.
>>
>> When I change the owner's font (in this case, the main stack's),  
>> the changes in the text on the cards' fields are inconsistent.
>>
>> In particular, every time there's a style change (into & out of  
>> bold for example, link, etc), a "font" tag gets inserted, hard-
>> wiring whatever the owner's font *was* at the time the text was  
>> edited. So the next time the owner's font changes, it affects  
>> everything *up to* that style change, but after that the old font  
>> is wired in place.
>>
>> I"m editing the text in the Contents pane of the Inspector. Doing  
>> this in the Encoded Text Picker doesn't seem to help. It must be  
>> behavior in the Rev engine I suppse.
>>
>> I'm not able to think of a way not to call this a serious bug. Is  
>> there a workaround?? Am I missing something basic?
>>
>
>
> Best Regards from Paris,
>
> Eric Chatonet.


Best Regards from Paris,

Eric Chatonet.
----------------------------------------------------------------
So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website
----------------------------------------------------------------
Web site        http://www.sosmartsoftware.com/
Email        [hidden email]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: fonts & styles

Richard Gaskin
In reply to this post by Charles Hartman
Charles Hartman wrote:
> Let me put it another way. If I want all text in a field that doesn't  
> have a specified font to be in the owner's font -- isn't that the  whole
> idea of inheritance? -- then why should that _font_ setup be  overridden
> by a _style_ setting?

It was implemented that way many years ago (long before RunRev acquired
the engine) as a workaround for other issues.  Style attributes should
of course be independent of one another.

There's a Bugzilla request for this:
<http://support.runrev.com/bugdatabase/show_bug.cgi?id=66>

As you can tell by its number it's been there a long time.  Fortunately
RunRev is aware of this and it's my understanding it's on their radar; I
don't know to what degree it's being actively worked on right now.
Hopefully someone from RunRev will chime in here with a status report on
this.

--
  Richard Gaskin
  Managing Editor, revJournal
  _______________________________________________________
  Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
Reply | Threaded
Open this post in threaded view
|

Re: fonts & styles

Charles Hartman
Bizarre. Well, so how _can_ I work around it?

All I want to do is set a textfont in the main stack (on open,  
depending on platform), and have all non-font-specified text adopt  
(inherit) that font, without losing my links and such. The  
inheritance gets killed when Rev -- gratuitously, as far as I can  
tell -- inserts a hard-wired font tag after any pair of style tags.  
Am I looking for some way, after opening the stack and possibly  
changing the default font, of searching through every card (?!) for  
extra font tags and deleting them? I'm not sure I see how to do that.

Charles Hartman


On Jul 8, 2005, at 12:33 PM, Richard Gaskin wrote:

> Charles Hartman wrote:
>
>> Let me put it another way. If I want all text in a field that  
>> doesn't  have a specified font to be in the owner's font -- isn't  
>> that the  whole idea of inheritance? -- then why should that  
>> _font_ setup be  overridden by a _style_ setting?
>>
>
> It was implemented that way many years ago (long before RunRev  
> acquired the engine) as a workaround for other issues.  Style  
> attributes should of course be independent of one another.
>
> There's a Bugzilla request for this:
> <http://support.runrev.com/bugdatabase/show_bug.cgi?id=66>
>
> As you can tell by its number it's been there a long time.  
> Fortunately RunRev is aware of this and it's my understanding it's  
> on their radar; I don't know to what degree it's being actively  
> worked on right now. Hopefully someone from RunRev will chime in  
> here with a status report on this.
>
> --
>  Richard Gaskin
>  Managing Editor, revJournal
>  _______________________________________________________
>  Rev tips, tutorials and more: http://www.revJournal.com
> _______________________________________________
> use-revolution mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

Charles Hartman
Professor of English, Poet in Residence
Connecticut College
[hidden email]
*the Scandroid* is at cherry.conncoll.edu/cohar/Programs





_______________________________________________
use-revolution mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution