Hello all,

We are working with artefact, but we have a problem when using special
characters in text, since when entering text with special characters
(i.e.cçćčeéeèëêęē ) the PDF is generated in white. Below, you may find a
small example to replicate this error:
-=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-== PDFDemos class >>
specialCharacterTest "PDFDemos specialCharacterTest" <script> self new
specialCharacterTest: (self streamNamed: 'specialCharacterTest.pdf')
PDFDemos >> specialCharacterTest: aStream | pdfdoc aPage | pdfdoc :=
PDFDocument new. aPage := PDFPage new. aPage add: (PDFTextElement new from:
20 mm @ 82 mm; text: 'cçćčeéeèëêęē'). pdfdoc add: aPage. pdfdoc exportTo:
aStream -=-=-==-=-=-==-=-=-==-=-=-==-=-=-==-=-=-== We have already tried
different types of encoding, without success since we only obtain text with
empty spaces or with foreign characters - Do you have any clue to address
this error? Any help is very welcome, thanks [image: :slight_smile:]

Reply via email to