I did some testing with some swing classes and they seem to expose the
font name as the text attribute called fontfamily. This patch makes
LibreOffice do the same. A quick test with JavaMonkey shows that it
works. There are still some issues with other text attributes, such as
indents being reported as zero regardless of the actual indentation. I
probably won't have time to look into that in the near feature but if it
is still an issue I hope I'll get more time to look into it later this
fall.
Regards,
Niklas Johansson
Niklas Johansson skrev 2013-08-22 21:01:
Hi
At the moment the text attribute Font family is exposed as Monospaced
or Porportional. I've looked at some java examples (example programs)
and seen that they seem to expose the font name as the text attribute
font family. Does anybody know if it is correct to expose the font
name here. It feels a lot more informative to get the font name then
knowing if the font is mono spaced or proportional.
I've been able to build a version that exposes the font name. But I
wanted to hear if somebody knows if it is correct/incorrect before I
prepare the patch.
Attachment:
0001-fdo-68346-Accessibility-bridge-should-exspose-the-fo.patch
Description: application/mbox
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.