first of all.

my english tongue is not good. so you'' be gentle..

i develope something to xhtml to pdf converter by iText.

i want to setting list's bullet like <ul> 's <li> symbol like ▪ or ▫ .

i try to that by set font in Chunk. but i can't do that.

using Arial MS Unicode(window's default font) and make Chunk by unicode

like below...

====================================================================================
BaseFont bs = BaseFont.createFont("font/ARIALUNI.TTF", BaseFont.CP1252,
BaseFont.NOT_EMBEDDED);
            Font f = new Font(bs,10);
~~~~~
list.setListSymbol(new Chunk("\u2022",f));
list.setListSymbol(new Chunk("\u2026",f));
~~~~~
====================================================================================

 i can't find some rectangle bullet in c:\windows\fonts ..

can you tell me how can i setListSymbol with Rectangle bullet.

feed any plz.. .

thanks gentleman~!
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to