https://bugs.freedesktop.org/show_bug.cgi?id=67957

          Priority: medium
            Bug ID: 67957
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Font name reported in AXFont always Times New Roman
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: m...@dusek.me
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.0.alpha0+ Master
         Component: UI
           Product: LibreOffice

Summary:
When querying an AXTextArea for AXAttributedStringForRange and looking at the
AXFont attribute in the returned string, the font reported is always Times New
Roman regardless of what the actual font in the document is at that range.

Steps to reproduce:
1. Open Writer
2. Type some text into it
3. Select all text (Cmd+A)
4. Change its font to "Helvetica"
5.a. Query the AXAttributedStringForRange parameterized attribute of the
corresponding AXTextArea and look at the AXFont value
or
5.b. Turn on VoiceOver (Cmd+F5) and press VO+T to hear textual attributes

Actual results:
5.a.: The dictionary contains these keys with these values: {
    AXFontFamily = "Times New Roman";
    AXFontName = "TimesNewRomanPSMT";
    AXFontSize = 12;
    AXVisibleName = "Times New Roman";
}
5.b.: VoiceOver says "12 point Times New Roman"

Expected results:
5.a.: The dictionary contains these keys with (approximately) these values: {
    AXFontFamily = "Helvetica";
    AXFontName = "HelveticaPSMT";
    AXFontSize = 12;
    AXVisibleName = "Helvetica";
}
5.b.: VoiceOver says "12 point Helvetica"

Regression:
Tested on OS X 10.8.4 with LibreOffice master
(39a78087890fb9255a5e47220bac6cfb956fcfe0).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to