You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Ognjen Blagojevic <og...@gmail.com> on 2010/08/25 15:43:26 UTC
List bullet postion below base line
Hi,
In examples for FOP 1.0, bullets for unnumbered lists are positioned
below the base line, as one can see at examples/fo/tests/lists.pdf.
There is a bug report for this issue at Bugzilla [1].
Is there a workaround for this problem? Is it possible to lift bullets
up, using padding or margin properties?
Environment: FOP 1.0, WinXP SP3, Java 1.6.
Regards,
Ognjen
[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=41822
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: List bullet postion below base line
Posted by Ognjen Blagojevic <og...@gmail.com>.
Hi Vincent,
Thank you very much, it looks just fine without inline element.
Regards,
Ognjen
On 26.8.2010 18:24, Vincent Hennebert wrote:
> Hi Ognjen,
>
> That example definitely needs to be updated. You can use any of the
> following alternatives:
> • remove the fo:inline:
> <fo:list-item-label end-indent="label-end()">
> <fo:block font-family="Symbol">•</fo:block>
> </fo:list-item-label>
> • use the default font that has a glyph for the bullet character anyway:
> <fo:list-item-label end-indent="label-end()">
> <fo:block>•</fo:block>
> </fo:list-item-label>
> • use a custom font that has a glyph for the character you want to use
> as a bullet. For example, assuming you want to use a right-pointing
> triangle (U+25B8) and the DejaVu Sans font:
> <fo:flow font-family="DejaVu Sans">
> ...
> <fo:list-item-label end-indent="label-end()">
> <fo:block>▸</fo:block>
> </fo:list-item-label>
>
>
> HTH,
> Vincent
>
> Ognjen Blagojevic wrote:
>> Hi,
>>
>> In examples for FOP 1.0, bullets for unnumbered lists are positioned
>> below the base line, as one can see at examples/fo/tests/lists.pdf.
>>
>> There is a bug report for this issue at Bugzilla [1].
>>
>> Is there a workaround for this problem? Is it possible to lift bullets
>> up, using padding or margin properties?
>>
>> Environment: FOP 1.0, WinXP SP3, Java 1.6.
>>
>> Regards,
>> Ognjen
>>
>>
>> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=41822
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: List bullet postion below base line
Posted by Vincent Hennebert <vh...@gmail.com>.
Hi Ognjen,
That example definitely needs to be updated. You can use any of the
following alternatives:
• remove the fo:inline:
<fo:list-item-label end-indent="label-end()">
<fo:block font-family="Symbol">•</fo:block>
</fo:list-item-label>
• use the default font that has a glyph for the bullet character anyway:
<fo:list-item-label end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
• use a custom font that has a glyph for the character you want to use
as a bullet. For example, assuming you want to use a right-pointing
triangle (U+25B8) and the DejaVu Sans font:
<fo:flow font-family="DejaVu Sans">
...
<fo:list-item-label end-indent="label-end()">
<fo:block>▸</fo:block>
</fo:list-item-label>
HTH,
Vincent
Ognjen Blagojevic wrote:
> Hi,
>
> In examples for FOP 1.0, bullets for unnumbered lists are positioned
> below the base line, as one can see at examples/fo/tests/lists.pdf.
>
> There is a bug report for this issue at Bugzilla [1].
>
> Is there a workaround for this problem? Is it possible to lift bullets
> up, using padding or margin properties?
>
> Environment: FOP 1.0, WinXP SP3, Java 1.6.
>
> Regards,
> Ognjen
>
>
> [1] https://issues.apache.org/bugzilla/show_bug.cgi?id=41822
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org