I am attempting to create开发者_高级运维 a list in XSL-FO using a square bracket. I have been able to get it working using the standard unicode bullet character (•
) but I just can't seem to get it working for square brackets.
I have tried using ■
, but that does not seem to work. It is important that i can get the square bullets working because I am matching an existing file format.Any help in getting this working would be greatly appreciated.
<fo:list-item-label end-indent="label-end()">
<fo:block>•</fo:block>
</fo:list-item-label>
Hi i have tried this with my own XSL-FO code and RenderX XEP 4.x and it appears to be a font glyph issue. When I use a font such as the WGL version of Times New Roman it appears correctly as a square bracket, but when I use the built in Helvetica font it doesn't as it doesn't have a glyph which supports it (• works fine).
If you don't want to go to the expense of purchasing a new font I would suggest using a gif to simulate the square bracket.
Is this character included in the font you are using?
精彩评论