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
Post a Comment