[ 
https://issues.apache.org/jira/browse/ODFTOOLKIT-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Nabbefeld updated ODFTOOLKIT-444:
---------------------------------------
    Attachment: XBulletDecorator.java

Working bullet list decorator class

> Bullet fonts not added to office:font-face-decls
> ------------------------------------------------
>
>                 Key: ODFTOOLKIT-444
>                 URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-444
>             Project: ODF Toolkit
>          Issue Type: Bug
>          Components: simple api
>    Affects Versions: 0.6.2-incubating
>         Environment: Linux, NetBeans, LibreOffice
>            Reporter: Peter Nabbefeld
>         Attachments: XBulletDecorator.java, XBulletDecorator.java
>
>
> When using a font for bullets not used otherwise in the created document, 
> bulltets are rendered incorrectly because the font is not declared in 
> <office:font-face-decls>.
> Obviously, fonts are registered automatically if used in paragraphs, but not 
> if used for bullets.
> After further investigation, Fonts in paragraphs and cells are "normalized" 
> by their appropriate style handlers, resulting in a call to 
> TextProperties.getFont(..), which leads to the registration. List items don't 
> provide such a style handler, but set the attributes accordingly.
> Please, either provide a style handler or provide an object for registration 
> of fonts (well, the latter could also be used by the style handler and would 
> provide for flexibility at the same time for missing handlers on other 
> objects).
> The class I've tested with is attached, please use a font other than those 
> already used in the document or an already registered standard font for the 
> bullets (e.g. "Noto Sans Runic", bulletChar="\u16B8").



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to