Artefact: special characters related issue
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:]
Hi Evelyn, Look here: http://forum.world.st/Artefact-and-WideString-td4857147.html#a4857325 Greetings Sabine -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
participants (2)
-
EVELYN CUSI LOPEZ -
Sabine Manaa