Issue 12558

Summary: The "font" command produces unexpected results in 644m1
Product: Math Reporter: alex.thurgood
Component: codeAssignee: ulf.stroehler
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: hdu, issues, thomas.lange
Version: 644   
Target Milestone: ---   
Hardware: PC   
OS: Other OS   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
font command display bug ooo644m1 Linux none

Description alex.thurgood 2003-03-21 13:36:27 UTC
File>New>Formula

In the blank formula, type font and press return. The display shows the "not
superset or equal" symbol twice, one stacked on top of the other.

Linux Mandrake 9.0

Alex
Comment 1 alex.thurgood 2003-03-21 13:38:15 UTC
Created attachment 5192 [details]
font command display bug ooo644m1 Linux
Comment 2 thomas.lange 2003-03-21 14:28:59 UTC
"font" is a reserved to be used only in specific context e.g.
  font sans "abc"
  font serif "abc"
  font fixed "abc"

If you like to have the word 'font' displayed put it in double 
quotes "font" in order to make it a text string that gets not 
interpreted.

TL->MRU: please check and confirm.
Comment 3 alex.thurgood 2003-03-21 17:09:41 UTC
While I agree that certain words may be reserved, and quite rightly
so, their accidental incorrect use shouldn't in my opinion throw up
replacement formula symbols, since this leads to user confusion. Or if
they do, then there should be a mention somewhere in the help that the
unwarranted or accidental misuse of reserved words will lead to
peculiar results. I don't think the help has anything like that yet.

The only reason I came across this is because I was trying to change
the font atribute on an existing formula and accidentally pressed
return after having typed font, so I think that its something that can
quite likely happen to others.

alex
Comment 4 thomas.lange 2003-03-22 08:53:29 UTC
Tl->Alex: What should have been displayed is two red upside down "?" 
instead. One for each missing aspect of the font command.
Example: font sans "aa"
Missing sans produces one and the missing "aa" the second one.

Since the number of symbols and color is correct it may be a 
font/character matching problem.

TL->HDU: Please comment.
Comment 5 alex.thurgood 2003-03-25 15:40:04 UTC
The problem doesn't appear any more in my latest download of beta 1.1.
Comment 6 hdu@apache.org 2003-07-09 14:24:01 UTC
Time to verify and close... 
Comment 7 ulf.stroehler 2003-07-10 08:03:32 UTC
works as designed in OOo 1.1 RC.
Comment 8 ulf.stroehler 2003-07-10 08:04:05 UTC
Verified in OOo 1.1 RC.
Comment 9 alex.thurgood 2003-11-10 15:00:54 UTC
Closing issue.