Arial font not working on PDF file on ubuntu - pdf

I have a PDF which shows properly on the browser but some text is not showing on the PDF viewer on on UBUNTU, I checked the fonts of the pdf and it return
Syntax Error: non-embedded font using identity encoding: Arial-BoldMT
Syntax Error: non-embedded font using identity encoding: ArialMT
I tried to add font substitute but it is not working.
The actual text is
Benefits (After 90 Days Full Time)
but it shows like following
Benefits (After 90 Days)XOO7LPH)
I have installed arial font on ubuntu also but its still not working.
Please help.
UPDATE : The file is showing properly on adobe pdf viewer and browsers but not on ubuntu.

It appears to be a bug in Firefox.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1766039.
The same bug was also reported in pdf.js github https://github.com/mozilla/pdf.js/issues/15317

Related

Merge PDF PHP with PdfMerger

I use this project to merge some PDFs :
https://github.com/libremente/PDFMerger
But recently it stops working, because of certain unsupported PDF.
I have an example of a file which doesn't work.
I can reproduce the problem locally, but there is no error in PHP logs, nothing.
How could I know what is going on in my PDF ?
Here is the properties of this faulty PDF in Acrobat :
Thanks

In RStudio using bookdown, I am unable to compile a PDF version of my book. I get an error message "mathspec.sty" file not found

In RStudio (Windows 10) using bookdown, I am unable to compile a PDF version of my book. I get an error message "mathspec.sty" file not found. I installed it on my MikTex folder, but the error persists. How to solve this?
Then, I tried to compile to pdfdocument. Now, I got errors from Latex because bookdown is unable to link to my preamble.tex file. How to make preamble.tex visible?
I changed the latex _engine to pdflatex in the output.yml configuration file. This solved the problem for me, although I would still like to know how to use xelatex (i.e. where to include the mathspec.sty file).

HiQPdf with special fonts

I was trying to add this font to the PDF's that was generated by HiQPDF
#font-face {font-family: "Helvetica Neue LT Std";
src: url("//db.onlinewebfonts.com/t/f0db0faa0f4af4630e2db0cd30400f2c.eot");
src: url("//db.onlinewebfonts.com/t/f0db0faa0f4af4630e2db0cd30400f2c.eot?#iefix") format("embedded-opentype"),
url("//db.onlinewebfonts.com/t/f0db0faa0f4af4630e2db0cd30400f2c.woff2") format("woff2"),
url("//db.onlinewebfonts.com/t/f0db0faa0f4af4630e2db0cd30400f2c.woff") format("woff"),
url("//db.onlinewebfonts.com/t/f0db0faa0f4af4630e2db0cd30400f2c.ttf") format("truetype"),
url("//db.onlinewebfonts.com/t/f0db0faa0f4af4630e2db0cd30400f2c.svg#Helvetica Neue LT Std") format("svg"); }
Apparently it generates the PDF files without problem, but after i tried to open the PDF in Adobe Illustrator, AI catches a problem saying: "the document uses fonts that are currently unavailable on your computer" despite that i downloaded the fonts and installed in my pc.
I have used external urls because i am generating the pdfs from a server and not locally, so, i have those questions:
If I should upload the .ttf files to the server and from the server
copy paste the links.
If the problem is with this font for being very particular
If I change the code for the font-face.
I need help to solve this problem, thanks for considering my request

Opera Themes error when uploading a zip file

I am looking to customize my browsers by uploading the addons on Opera Themes. I get an error: persona.ini is invalid. Please correct it and try uploading again. The parser reported: Invalid The Blues/persona.ini file, section Window Image not found. Please fix it and try again.
I have tried new Images in my file, but it is not working. Any ideas?
put persona.ini in the folder of extension,
in persona.ini write code
[Window Image]
Type = BestFit
Tile Center = "image.png"
Colorize = 0
image.png put in the same folder

KCFinder & Ckeditor PDF file corupt upload issues

When we upload PDF using KCfinder on our CKeditor package the file somehow converts to an image or the pdf file gets corrupted. Cannot be open. Anyone experience this same issue and found a fix?
PHP Version 5.4.
Another solution is to avoid resizing images.
In KCFinder config file (conf/config.php) set lines
'maxImageWidth' => 0,
'maxImageHeight' => 0,
I have found a solution to my own question. If anybody else has this issue please see below.
The problem seems to be that with PHP 5.4 Imagick and Magick Wand. What I did was disabled Imagick, and Magick Wand from the PHP Settings.
Then in KCFinder config file (conf/config.php) changed line 45 from
'imageDriversPriority' => "imagick gmagick gd",
to
'imageDriversPriority' => "gd",
You may get away with just editing the KCFinder config file and leaving the php settings alone. I hope this was helpful.