- Posts: 14
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Export as queXMLPDF not working in Amharic
- thtrede
- Topic Author
- Offline
- New Member
Less
More
4 years 8 months ago #187395
by thtrede
Export as queXMLPDF not working in Amharic was created by thtrede
Dear All,
I have a time sensitive question as I need to deliver urgently and hope someone can help.
We have a questionnaire in English and Amharic (yes, we do .
- Printable Survey Export works fine
- queXMLPDF export does desplan the answer options correctly, but all other text is not displayed (only ????)
- HTML export works fine as well
Any suggestions or ideas (to me it seems the queXML export uses a different font for question texts and welcome text, which is not available.. but where to change tat as we did not change anything in the export settings
Urgent assistance would be extremely welcome
Cheers
Thorsten
I have a time sensitive question as I need to deliver urgently and hope someone can help.
We have a questionnaire in English and Amharic (yes, we do .
- Printable Survey Export works fine
- queXMLPDF export does desplan the answer options correctly, but all other text is not displayed (only ????)
- HTML export works fine as well
Any suggestions or ideas (to me it seems the queXML export uses a different font for question texts and welcome text, which is not available.. but where to change tat as we did not change anything in the export settings
Urgent assistance would be extremely welcome
Cheers
Thorsten
The topic has been locked.
- thtrede
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 1
4 years 8 months ago #187397
by thtrede
Replied by thtrede on topic Export as queXMLPDF not working in Amharic
Additional info: Once I open the PDF in Acrobat and export it to Word, the text is back and fully correct.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12908
- Thank you received: 3975
4 years 8 months ago #187400
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Export as queXMLPDF not working in Amharic
Hi, Thorsten
you know the queXML stuff is developed and supported by the quexml.acspri.org.au/
You also find them here under "Partners".
So in my opinion they are the best to help.
Joffm
you know the queXML stuff is developed and supported by the quexml.acspri.org.au/
You also find them here under "Partners".
So in my opinion they are the best to help.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 8 months ago #187401
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Export as queXMLPDF not working in Amharic
I would recommend to open a bug report in LimeSurvey. It looks like a change in the font selection will do the trick.Joffm wrote: So in my opinion they are the best to help.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13633
- Thank you received: 2491
4 years 8 months ago #187404
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Export as queXMLPDF not working in Amharic
@jelo have surely right
The fix can be done in config : github.com/LimeSurvey/LimeSurvey/blob/ff...ig-defaults.php#L347
Try with force 'pdfdefaultfont'=> 'dejavusans' and if it's OK, we can easily fix it in default config inside the alternatepdffontfile array.
The fix can be done in config : github.com/LimeSurvey/LimeSurvey/blob/ff...ig-defaults.php#L347
Try with force 'pdfdefaultfont'=> 'dejavusans' and if it's OK, we can easily fix it in default config inside the alternatepdffontfile array.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- thtrede
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 1
4 years 8 months ago #187406
by thtrede
Replied by thtrede on topic Export as queXMLPDF not working in Amharic
Hi,
I did the following:
- added 'am'=>'dejavusans',
- uploaded the config-defaults again
The result is even worse . Now answer options are also not readable any more (same with 'am'=>'freesans', which seems to be the font embedded in the PDF)
While in the original, the answer options were readable (and the font thus OK), the change seems to have worked, but not to the better)
I think we are on the right track. Would need a font in the application. People recommend Nyala (if I include 'am'=>'nyala' it of course gives me an error message that eh font cannot be found)
Any additional ideas?
Cheers
Thorsten
I did the following:
- added 'am'=>'dejavusans',
- uploaded the config-defaults again
The result is even worse . Now answer options are also not readable any more (same with 'am'=>'freesans', which seems to be the font embedded in the PDF)
While in the original, the answer options were readable (and the font thus OK), the change seems to have worked, but not to the better)
I think we are on the right track. Would need a font in the application. People recommend Nyala (if I include 'am'=>'nyala' it of course gives me an error message that eh font cannot be found)
Any additional ideas?
Cheers
Thorsten
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 8 months ago #187408
by jelo
So revert the change. Create the PDF with the partial readable section. Attach the PDF here.
Depending on your PDFviewer the fonts embedded or defined are listed somewhere.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Export as queXMLPDF not working in Amharic
If you cannot identify the working font inside the queXML PDF export, you can post the PDF here to allow us to identify the working font.thtrede wrote: The result is even worse . Now answer options are also not readable any more (same with 'am'=>'freesans', which seems to be the font embedded in the PDF)
So revert the change. Create the PDF with the partial readable section. Attach the PDF here.
Depending on your PDFviewer the fonts embedded or defined are listed somewhere.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- thtrede
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 1
4 years 8 months ago #187411
by thtrede
Replied by thtrede on topic Export as queXMLPDF not working in Amharic
Hi,
I would take the easy way (for me) and send the PDF here... but even page 1 of the PDF in reduced size and in a ZIP exceeds the 2 BM allowed here.
I put the file here: applicatio.com/owncloud/index.php/s/IbzHlbKF2DmTska
If there is anything I can do to sort it out on my side, let me know... and thanks a million for the great support (for a language not so often used in Europe
Thorsten
I would take the easy way (for me) and send the PDF here... but even page 1 of the PDF in reduced size and in a ZIP exceeds the 2 BM allowed here.
I put the file here: applicatio.com/owncloud/index.php/s/IbzHlbKF2DmTska
If there is anything I can do to sort it out on my side, let me know... and thanks a million for the great support (for a language not so often used in Europe
Thorsten
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 8 months ago #187416
by jelo
The working font is "FreeSerif". That seems to have the "Amharic" characters included.
But the additional styles (like FreeSerif bold, italic etc.) seem to have the "Amharic" characters not included.
Are you aware of a truetype/opentype font, that contain all styles (bold, italic). Replacing the font in the LimeSurvey installation might be easier than removing the styles from the queXML definition file.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Export as queXMLPDF not working in Amharic
thtrede wrote: I would take the easy way (for me) and send the PDF here..
The working font is "FreeSerif". That seems to have the "Amharic" characters included.
But the additional styles (like FreeSerif bold, italic etc.) seem to have the "Amharic" characters not included.
Are you aware of a truetype/opentype font, that contain all styles (bold, italic). Replacing the font in the LimeSurvey installation might be easier than removing the styles from the queXML definition file.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
The topic has been locked.
- thtrede
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 1
4 years 8 months ago #187421
by thtrede
Replied by thtrede on topic Export as queXMLPDF not working in Amharic
Unfortunately no. I am not really into fonts (andDr. Goolge could not help me). Sorry
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
4 years 8 months ago #187423
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Export as queXMLPDF not working in Amharic
I'm not using queXML, so it might be possible to enforce a certain style onto the whole document. But choosing the right font is crucial.
If you work with "Amharic", you should be able to check.
Take a look at this font here:
software.sil.org/abyssinica/
That should work. Even though the font has additional characters in the Private Use Area to support languages that require Ethiopic characters not yet encoded in Unicode.
Support: Ethiopic (including supplement and extended blocks), Latin
OpenType Layout Tables: default (default, Amharic), Ethiopic (default, Amharic)
You should install the font on your local PC to check documents first.
If that font is working, you would need to install that font on the system, where LimeSurvey is installed.
If you work with "Amharic", you should be able to check.
Take a look at this font here:
software.sil.org/abyssinica/
That should work. Even though the font has additional characters in the Private Use Area to support languages that require Ethiopic characters not yet encoded in Unicode.
Support: Ethiopic (including supplement and extended blocks), Latin
OpenType Layout Tables: default (default, Amharic), Ethiopic (default, Amharic)
You should install the font on your local PC to check documents first.
If that font is working, you would need to install that font on the system, where LimeSurvey is installed.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13633
- Thank you received: 2491
4 years 8 months ago #187427
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Export as queXMLPDF not working in Amharic
About fonts : currently it's included in
github.com/LimeSurvey/LimeSurvey/tree/master/assets/fonts
Maybe we need to update to FreeSans in replacement of DejaVu ?
Then we can add all www.gnu.org/software/freefont/ ttf file for bold, italic, BoldItalic … ?
When i test the fonts for arabic in 2013 (5 years ago) it was the best solution for ar.
If someone cac check FreeSans for all language : it's great
Maybe we need to update to FreeSans in replacement of DejaVu ?
Then we can add all www.gnu.org/software/freefont/ ttf file for bold, italic, BoldItalic … ?
When i test the fonts for arabic in 2013 (5 years ago) it was the best solution for ar.
If someone cac check FreeSans for all language : it's great
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.