Hi,
A little issue about accents (à, é, ...) for exporting model to pdf with a docx as model. It displays squares.
Thanks
Accent for exporting to pdf
Accent for exporting to pdf
Last edited by Didou12 on 26 Feb 2023, 15:51, edited 3 times in total.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Accent for exporting to pdf
Please reproduce issue on personal demo and give me the link to the demo
https://www.rukovoditel.net/demo.php
https://www.rukovoditel.net/demo.php
Re: Accent for exporting to pdf
Thanks,
https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1866
test.admin
admin
it's with fields sometimes, and with the text in the template DOCX, very random. Accent are different or are square.
In project, with PDF (it's ok with print, docx).
https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1866
test.admin
admin
it's with fields sometimes, and with the text in the template DOCX, very random. Accent are different or are square.
In project, with PDF (it's ok with print, docx).
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Accent for exporting to pdf
This is because PDF lib try to use font form docx, but if font not exist it can't display text correctly.
You can to install all required fonts for pdf.
Read more here https://docs.rukovoditel.net/index.php?p=108
You can to install all required fonts for pdf.
Read more here https://docs.rukovoditel.net/index.php?p=108
Re: Accent for exporting to pdf
Oh yeah, true !! that's why on my browser and docx it works (because fonts are on my computer).
Sorry for the convenience, I didn't think about that. Thank you
Sorry for the convenience, I didn't think about that. Thank you
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
Re: Accent for exporting to pdf
Finally, not really solved, I notice some errors :
- parenthesis are transformed into square
- some punctuation are overlapping ( for example with ":" it's overlapped with the next information)
- some punctuation have an extra space after it (for example "d' app" instead "d'app")
- paragraphs/lines are very spaced
- parenthesis are transformed into square
- some punctuation are overlapping ( for example with ":" it's overlapped with the next information)
- some punctuation have an extra space after it (for example "d' app" instead "d'app")
- paragraphs/lines are very spaced
- Attachments
-
- d.PNG (5.93 KiB) Viewed 147 times
-
- c.PNG (1.61 KiB) Viewed 147 times
-
- a.PNG (2.53 KiB) Viewed 147 times
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Accent for exporting to pdf
First make sure you have loaded all types of font (bold, italic etc.)
But anyway I can suggest not use some not standard font, because app can't read it correctly.
But anyway I can suggest not use some not standard font, because app can't read it correctly.
Re: Accent for exporting to pdf
Yes, all fonts are loaded,
With Arial in the docx, it doesn't work too (now it's other accents).
I will use print and not directly PDF with model docx, sorry.
With Arial in the docx, it doesn't work too (now it's other accents).
I will use print and not directly PDF with model docx, sorry.
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)