开发者

Square Bullet in XSL-FO

开发者 https://www.devze.com 2022-12-23 11:59 出处:网络
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

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>&#x2022;</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?

0

精彩评论

暂无评论...
验证码 换一张
取 消