Results 1 to 3 of 3

Thread: Evince+Code128 Font from internetzollanmeldung.de

  1. #1
    Join Date
    Aug 2012
    Beans
    1

    Evince+Code128 Font from internetzollanmeldung.de

    Hi,

    I am using Ubuntu 12.04.1 LTS with evince 3.4.0. I tried shipping abroad, with

    https://www.ausfuhrplus.internetzollanmeldung.de/iaap/

    at the end of the process you get a pdf.
    This pdf needs a Type1-font called "Code-128" which you can download from the website.
    But the downloaded file contains a TrueType-font (code_128.ttf). So i copied it to

    Code:
    /usr/local/share/fonts/truetype
    and ran

    Code:
    fc-cache -vf
    dpkg-reconfigure fontconfig
    It worked fine for LibreOffice but viewing the pdf with evince still didn't show any barcode. So I tried to convert it using

    Code:
    ttf2ufm code_128.ttf
    and copied the resulting files to

    Code:
    /usr/share/fonts/type1/Code-128
    and ran the shell-commands again. Still evince didn't recognize the fonts.
    When I run
    Code:
    fc-cache -vf
    I get
    Code:
    ...
    /usr/share/fonts/type1/Code-128: caching, new cache contents: 1 fonts, 0 dirs
    ...
    Other pdf-viewer like epdfview, okular, xpdf, ... also don't recognize the font.

    What am I missing?

    How can I use that font?
    Last edited by hagos; August 20th, 2012 at 02:45 PM. Reason: Typo

  2. #2
    Join Date
    Nov 2012
    Beans
    2

    Wink Re: Evince+Code128 Font from internetzollanmeldung.de

    For me only acroread works with this code128 font.
    But this was the same situation with opensuse installations...
    Steff

  3. #3
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Evince+Code128 Font from internetzollanmeldung.de

    What are you missing? You ask. Did you install this font on to the machine before or after you created this PDF document?

    If you are creating this document in LibreOffice and then exporting it to PDF, you need to use that special font in the document before you export.

    Then when you export to PDF the special font will be embedded into the PDF document so that the font is rendered by the PDF reader application.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •