pdf hebrew chars are GIBRISH
Kfir Lavi
lavi.kfir at gmail.com
Mon Sep 12 20:16:20 IDT 2011
On Mon, Sep 12, 2011 at 6:58 PM, Kfir Lavi <lavi.kfir at gmail.com> wrote:
>
>
> On Mon, Sep 12, 2011 at 6:40 PM, Kfir Lavi <lavi.kfir at gmail.com> wrote:
>
>>
>>
>> On Mon, Sep 12, 2011 at 5:37 PM, Meir Kriheli <mkriheli at gmail.com> wrote:
>>
>>> On Mon, Sep 12, 2011 at 11:32 AM, Kfir Lavi <lavi.kfir at gmail.com> wrote:
>>> > Hi,
>>> > The CPA of our company gave me the salary in pdf.
>>> > It is done with SHIKLULIT LE HALONOT (שיקלולית לחלונות).
>>> > The header font is showing ok, but the font inside the form,
>>> > shows in GIBRISH.
>>> > It seems like a mismatch of font?!
>>> > I'm using evince.
>>> > I have culmus fonts installed.
>>> >
>>> > output of pdffonts:
>>> > kfir at goofy /tmp $ pdffonts 2011.08.pdf
>>> > name type emb sub uni
>>> object ID
>>> > ------------------------------------ ----------------- --- --- ---
>>> ---------
>>> > Arial CID TrueType no no yes
>>> 6 0
>>> > Arial,Bold CID TrueType no no yes
>>> 10 0
>>> > Miriam CID TrueType no no yes
>>> 13 0
>>> > David CID TrueType no no yes
>>> 16 0
>>> > David,Bold CID TrueType no no yes
>>> 19 0
>>> > MiriamFixed,Bold CID TrueType no no yes
>>> 22 0
>>> >
>>> > kfir at goofy /tmp $ pdfinfo !$
>>> > pdfinfo 2011.08.pdf
>>> > Creator: pdfsam-console (Ver. 2.4.0e)
>>> > Producer: iText 2.1.7 by 1T3XT
>>> > CreationDate: Sun Sep 11 20:12:03 2011
>>> > ModDate: Sun Sep 11 20:12:03 2011
>>> > Tagged: no
>>> > Pages: 1
>>> > Encrypted: no
>>> > Page size: 595.274 x 841.888 pts (A4)
>>> > File size: 25669 bytes
>>> > Optimized: no
>>> > PDF version: 1.4
>>> >
>>> > Thanks,
>>> > Kfir
>>>
>>> Try checking the results of fc-match for each of fonts in the above
>>> output of pdffonts
>>>
>>> Cheers
>>> --
>>> Meir
>>>
>> Here is the output:
>> fc-match Arial:
>> arial.ttf: "Arial" "Normal"
>> fc-match Arial,Bold:
>> arial.ttf: "Arial" "Normal"
>> fc-match Miriam:
>> Vera.ttf: "Bitstream Vera Sans" "Roman"
>> fc-match David:
>> Vera.ttf: "Bitstream Vera Sans" "Roman"
>> fc-match David,Bold:
>> Vera.ttf: "Bitstream Vera Sans" "Roman"
>> fc-match MiriamFixed,Bold:
>> Vera.ttf: "Bitstream Vera Sans" "Roman"
>>
>> So as we see it don't find David, Miriam...
>>
>> Regards,
>> Kfir
>>
>
> It seems that "Bitstream Vera Sans" "Roman" is the default.
> When I run fc-match, I just get "Bitstream Vera Sans" "Roman".
>
> Kfir
>
Ok,
Just for check I have changed the default font to Arial using:
<family>DejaVu Sans</family> in 60-latin.conf
but when trying to use
<family>David CLM</family>
It does not work.
Why this font can't be found?
fc-match davidclm do find it.
but
fc-match david will not.
Kfir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20110912/21c38fd7/attachment-0001.html>
More information about the Linux-il
mailing list