OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re[2]: [cgmo-webcgm] QUESTION about text-font SP


Answering in two parts, 2nd part first, this is message 1 of 2...

At 04:41 PM 7/8/2005 -0400, Benoit Bezaire wrote:
>I'll ignore the issue for now :-)
>
>But I agree with Dave, this is not a 'text-font' issue but a
>'character-height' issue.

See next message...

>I don't see why changing the font should
>have an impact on the restricted text box.

Because changing the font most likely means that the old restriction boxes 
in the metafile, which remain unchanged, will probably be lousy and the 
display will look bad.  This is because, as we all know, different fonts 
have different aspect ratios, when laid out with the same basic attributes, 
according to their individual glyph metrics.  Example:

old font:  helvetica (e.g., default left-baseline text alignment)
text-font replacement:  courier bold (at same height and alignment)

The new font, at the same height, would be longer than the restriction box 
if it were laid out naturally (according to its glyph metrics, ignoring the 
restriction box) -- you can do a quick calculation using the metrics in 
Annex I. (ISO CGM:1999).

The restriction boxes of the target object are not changed.  If they were 
appropriate and correct originally -- i.e., if we are using text-font to 
highlight or emphasize something -- then they will be totally inappropriate 
now.  Which leaves this choice:

1.) ignore the restriction box (which violates ISO CGM:1999, and forces you 
to guess about the author's intent in several possible variables);
2.) or, distorted (squashed in this case) text display.

It is probably safe to say that almost no font replacement is going to give 
good looking results, if the restriction boxes accompanying the original 
fonts were correct.  (Which is my principal usage scenario for text-font 
replacement.)

So my original question was:  do we want to say anything about it (box/font 
mismatch), or just keep silent?  (I favor the leaving it alone.)

Onward to char-height issue, next message...

Regards,
-Lofton.


>Friday, July 8, 2005, 4:28:33 PM, David wrote:
>
>CDW> This is the same question, I remember  hearing from Franck
>CDW> and Benoit relating the changing the character height, also.  Are
>CDW> we saying anything in that area about what happens to the
>CDW> restricted text box?  I don't think we are addressing it there
>CDW> after a quick look.  Should we?
>CDW>
>CDW> thx...Dave
>
>CDW> -----Original Message-----
>CDW> From: Lofton Henderson   [mailto:lofton@rockynet.com]
>CDW> Sent: Friday, July 08, 2005 9:18   AM
>CDW> To: cgmo-webcgm@lists.oasis-open.org
>CDW> Subject: [cgmo-webcgm] QUESTION about text-font SP
>
>
>
>CDW> About the   text-font Style Property issue,
>
>
>CDW> ISSUE: text-font Style
>CDW> 
>Propertyhttp://www.oasis-open.org/apps/org/workgroup/cgmo-webcgm/email/archives/200506/msg00165.html
>CDW> This     is Dieter's proposal for the text-font Style
>CDW> Property, and discussion thread     - discuss
>
>
>CDW> the Wednesday telecon decided to put include the
>CDW> text-font Style Property in the next Editors Draft.  Here are the
>CDW> words   that I put in:
>
>
>CDW> text-font: Specifies a replacement     font for all text in
>CDW> the target object. If the characters that are needed     for all
>CDW> text in the target object are available in the specified
>CDW> replacement     font, and if the specified font is available,
>CDW> then use it for all text in     the target object. Otherwise,
>CDW> ignore the specified font.
>
>
>CDW> QUESTION.  Do we intend to say anything about the boxes
>CDW> of the Restricted Text elements in the case that font replacement
>CDW> happens?  Or do we just keep silent about it?  (This is one place
>CDW> where the can of worms starts to open up.)
>
>CDW> -Lofton.




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]