c# - Aspose.Pdf Polish Characters -


why pdf don't display polish character?

memorystream ms = new memorystream(); pdf pdf = new pdf(ms); section section = pdf.sections.add(); var txt = new text("aąbcćde"); txt.textinfo.fontname = "calibri"; section.paragraphs.add(txt); pdf.close(); byte[] bytes = ms.toarray(); return bytes; 

those special characters unicode characters, have make sure font supports them , call pdf.setunicode(); before pdf.close.


Comments

Popular posts from this blog

Lists in Python -

android - can not access to progress bar in an other activity -

html - Not able to access next element of an array javascript -