Prestashop 1.5.4.1 Turkish character does not show correctly - prestashop

My prestashop has a problem with Turkish characters. I tried different things like changing font in classes/pdf PDFGenerato.php from helvetica to freeserif. I tried different character sets But couldn't find a right combinnation of them :(
Someone in a forum suggested that font sets should be changed so I backuped \tools\fpdf\fonts and installed that fonts.zip package but nothing changed :(
What should i do?

I was having the same issue with arabic characters. I even reported the bug, but did not get any reply from there
http://forge.prestashop.com/browse/PSCFV-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
PS is using tcpdf behind the scene for generating PDF invoices. The tcpdf coming with PS has some missing fonts, which you need to place there. Download tcpdf . In the download you will see a fonts folder. Compare that folder with the PS tools/tcpdf/fonts folder and you will see the missing fonts. Copy and paste that folder to tools/tcpdf .
Next change the fonts at your classes accordingly and i hope it will work for you. For me it fixed the issue, but did the currency text ( ر يال ) was not displaying correctly.
Also checkout the example files coming with the tcpdf download.
Thank you

Related

Font Not Displaying Properly in PDF

I am trying to save a pdf from illustrator and I have never had this issue, the font looks fine in illustrator, but when I save the pdf and open the pdf in a pdf viewer the "i" character now has a box beneath the text but the dot of the i stays there.
When viewed in illustrator:
When viewed in a PDF viewer:
I know that when the square shows up it means the font you are trying to use isn't there however the other characters appear fine, it just seems to be the I which is odd. The font passed verification (for reference it is Playfair Display
Does anyone know how to fix this or why this could be occurring? Am I exporting wrong(I've never had this issue before with exporting)?
Thanks in advance!
Update: I solved my question while writing it. The font that was installed was a variable font type (I downloaded it from Google), for some reason it doesn't seem to want to play nicely in a pdf (maybe I'm saving it incorrectly?). I deleted the variable font and installed the static versions of the font and now the issue has gone away.
I don't know too much about variable fonts but it seems like they are maybe a bit finicky?
Hope this can help others!

PDF font display issue

I have a PDF font issue here,
I was using PDF factory pro to print out quotation from an accounting software application, but I have no idea why the font become as shown, should not have those space between the characters, I have check the data and back end code they are correct, so I was suspect is PDF setting or window font issue:
I have tried to update the font version by downloading the package online, but the issue remained.
Please help. Thanks in advance
you should set->fonts();
if you cann't set font this pdf library then you can use tcppdf from tcppdf.org .
I think you can solve your problem.
thanks

Tinymce html2pdf

I have been searching for this but i can't start coding or change configuration because i can't quite understand the concept. Can you help me know where to start?
i have a tinymce editor with different fonts. When i saved it the the text(with its font) was saved in html format. I am converting the html format to pdf by using html2pdf plug in but there was an "TCDPF Error: can not include ''". I have tested all the fonts in my tinymce editor but only Arial works with the html2pdf. I know that you can set the font in html2pdf by using
$html2pdf->pdf->setFont('calibri');
but this means the text will be saved in one font only. Here comes my problem because in my text each word has different fonts. What should i do? i appreciate any help. :) please understand, i am just a novice
I would use some other tool to create a pdf, what about a ghostscript solution?

Chinese characters in IntelliJ IDEA 12 overlapped

I use IntelliJ IDEA to develop my Android project. I've encountered this issue when editing the string XML resource file today. The Chinese characters do show but just overlapped one by one. So basically all you see is a bunch of Chinese characters filled in and overlapped at single character space. Interestingly, when you try to delete those Chinese characters, you just delete the following XML closing tag but not the Chinese character itself...
Have tried copy/paste, same result. I am using the Windows 32bit version.
Can anybody help to fix this issue?
Please check this issue and linked issues for the problem background.
Right now when IDEA doesn't find the glyph to display in the current editor font that you have set in File | Settings | Editor | Colors & Fonts, Font, it starts to search for the first font that has this glyph and finds some font with incorrect metrics that displays overlapping glyphs.
When this request is implemented, you'll be able to specify the order of fall back fonts so that some properly working font is tried first.
At the moment the solution is to change the editor font to the one that has all the required glyphs and proper font metrics (or to find and uninstall the font that is tried first and is displayed incorrectly, note that when running under JDK 1.7 IDEA will also try .otf fonts, not just .ttf, that is why the behavior is different in IDEA 11 defaulting to JDK 1.6 and IDEA 12 that runs under JDK 1.7).

TTF webfont to desktop-useable TTF

I'm using a CC-BY FontAwesome typeface for icons on my Twitter Bootstrap-driven website. Now I want to use it in an image editor for a prototype of another website. But it does not work. I cannot use its webfont-TTF with my image editing application. How can I convert it to a normal font?
Please dont give me links to free-/shareware closed-source utilites. I want to know, why does this happening and implement my own script which would "fix" this font.
FontAwesome should work out of the box. Heres how to use it:
Download FontAwesome. Then open fonts/FontAwesome.otf and install it (either with fontbook on osx or by adding it to your fonts folder on windows).
Use the Cheatsheet to actually use specific icons. Find the icon you want there, select the icon and copy it.
Switch to your image editor, create a text item, set the font to FontAwesome, and paste the symbol you copied.
I assume you are talking about http://fontawesome.io/ .
If so there is nothing wrong with the TTF version of this font and no reason to convert it. I have tested the font on linux by dropping the .ttf file in /usr/share/fonts/ and it is useable in LibreOffice, Gimp and Terminal.
You problem is almost certainly one of:
The process you used to install the font
You aren't entering the correct Unicode characters or your image editor doesn't support Unicode.
However you failed to provide enough details. You haven't even defined what you mean by "it does not work". Please update your question with details like the process you used, a link to the actual font you downloaded and the operating system and image editor you're using.
In case you're still looking for a solution: the easy way is to convert the included SVG font to usable TrueType or OpenType, using e.g. FontForge or an online service.
AFAIK SVG fonts have no DRM flags, unlike TrueType.