Hi I am trying to take screenshot of a Google page with Arabic keywords using phantom js but on jpeg image Arabic font is missing, boxes are coming instead.
Phantomjs version - 1.9.7
Centos 6.5
Steps I followed to solve this
1. Checked if Arabic Support is available:
yum grouplist
2. Then if available install arabic support:
yum groupinstall 'Arabic Support'
This solved the issue.
Related
I tried to install Chinese input method in English Debian 11 system, but after having tried the methods I searched in Google I failed. How should I do? All these input methonds can't input Chinese characters. I have install fcitx as below:
I installed pinyin in fcitx5 configuration. What should I do? Thanks.
Report created from jasper not rendering properly for pdf in case of Hindi language.
e.g.
Correct Rendering should look like that
५ दिन
but rendered it wrongly.
Getting rendering issue for some characters only.
My application is running on Ubuntu 12.04.2 LTS (GNU/Linux 3.5.0-23-generic x86_64).
I used Mangal ttf file for rendering Hindi language.
I have tried following:
ireport pdf ecoding setup.
fontName="Mangal" size="9" isStrikeThrough="false" pdfFontName="akshar.ttf" pdfEncoding="Identity-H" isPdfEmbedded="true"
Font Extension and included jar file into my application.
Even upgraded my application jasper library.
Upgrading of Mangal ttf file.
Upgraded ubuntu specifically mscorefonts.
Help needed ASAP.
Thanks.
I am trying to html to pdf on mac osx. I write this command,
$ wkhtmltopdf --header-center "google" http://www.google.com google.pdf
but I saw the error,
The switch --header-center, is not support using unpatched qt, and will be ignored.Loading page (1/2)
Printing pages (2/2)
Done
What is the problem? How should I fix?
Install Qt from https://code.google.com/p/wkhtmltopdf/wiki/compilation yourself. Hopefully this will do.
I've found some tools that can convert PDF to SWF, but I'm hoping to find something or even a library to be able to be able to incorporate this on the server to be able to store the SWF in a database.
Have you tried SWFTOOLS? On Debian/Unbuntu:
sudo apt-get install swftools
pdf2swf filename.pdf
http://wiki.swftools.org/index.php/Examples#pdf2swf
They have a Windows version, and the source so you can compile it on other Linux flavors.
I would like to programatically convert SVG files to PDF files. However, the SVG files contain text that must be searchable in the generated PDF files. Also, it has to work on Red Hat Enterprise Linux 5.3 or CentOS 5.3 for the x86_64 architecture. It would be nice if it were Open Source or at least not very expensive.
Here is what I've tried. All of these, except Batik, work fine on Debian Lenny.
Inkscape
I can get it installed using autopackages from http://inkscape.modevia.com/ap, but when I use it from the command line, the text is not searchable.
Batik rasterizer [sic]
When it converts SVG files to PDF files, the text is no longer searchable.
svg2pdf
The source for this and several of its dependencies are available to download. I have been trying to get it to compile on CentOS, but haven't had success yet. I found a precompiled version for Debian x86_64, but it doesn't work on CentOS.
rsvg-convert
Generated PDF isn't searchable on CentOS 5.3. Perhaps installing a newer version of cairo would help. Thanks to DaveParillo for mentioning rsvg-convert (on superuser).
SOLUTION (but perhaps some of the above will still be useful to the reader)
princeXML
It works fine on CentOS when installed from source. For some reason it doesn't work when installed from the .rpm. Thanks Erik Dahlström!
Cross posted on superuser
You could try princexml, it's free for non-commercial use.