{"id":51088,"date":"2022-04-28T14:52:58","date_gmt":"2022-04-28T21:52:58","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=51088"},"modified":"2022-04-28T14:52:58","modified_gmt":"2022-04-28T21:52:58","slug":"kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans","status":"publish","type":"post","link":"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/","title":{"rendered":"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d"},"content":{"rendered":"

Applies to: <\/strong>Transact version 2020.1.06 and above<\/p>\n

Affected operating systems<\/strong>: Linux<\/p>\n

<\/a>Issue<\/h2>\n

This issue occurs when opening a PDF file created by Recostar on Linux after exporting a PDF via the Multipage Export Plugin. When opening the file in Adobe Reader, the following error occurs:<\/p>\n

Cannot find or create the font \u2018FreeSans.\u2019 Some characters may not display or print correctly.<\/p>\n

<\/p>\n

Figure 1. Adobe Reader error message.<\/em><\/p>\n

Note: <\/strong>This issue does not occur with PDFs generated by iText or if the PDFs are opened in a web browser.<\/p>\n

<\/a>Solution<\/h2>\n

To resolve this issue, you will need to manually install Microsoft\u2019s TrueType core fonts, then change the font in the Linux.xml<\/strong> file. Follow the steps below:<\/p>\n

    \n
  1. Open a terminal in the Transact server directory.<\/li>\n
  2. Install wget utility<\/strong> by entering the command:<\/li>\n<\/ol>\n

    yum install -y wget.<\/code><\/p>\n

      \n
    1. Complete Steps 1-5 in How to Manually Install Microsoft\u2019s TrueType Core Fonts<\/a>. Then, continue to Step 4 in this article.<\/li>\n
    2. Navigate to the [Ephesoft_Directory]\/Application\/native\/RecostarPlugin\/lib\/RecoStarPDF\/Linux.xml <\/em>folder.<\/li>\n
    3. Open the Linux.xml<\/strong> file in a text editor.<\/li>\n
    4. Comment out the line: <Font FamilyName=’FreeSans’ FileName=’FreeSans.ttf’\/><\/li>\n
    5. Then add the line <Font FamilyName=’arial’ FileName=’arial.ttf’\/><\/li>\n<\/ol>\n

      Note:<\/strong> In the example above, replace \u201carial\u201d with your preferred font.<\/p>\n

      <\/p>\n

      Figure 2. Add a line for the new font.<\/em><\/p>\n

      Note:<\/strong> Batch export will fail if the Linux.xml<\/strong> file is modified without installing the MS TrueType fonts.<\/p>\n

        \n
      1. Save and close the file.<\/li>\n
      2. Restart Transact.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

        Applies to: Transact version 2020.1.06 and above Affected operating systems: Linux Issue This issue occurs when opening a PDF file […]<\/p>\n","protected":false},"author":88,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12439],"tags":[1430],"yoast_head":"\nKB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d\" \/>\n<meta property=\"og:description\" content=\"Applies to: Transact version 2020.1.06 and above Affected operating systems: Linux Issue This issue occurs when opening a PDF file […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:published_time\" content=\"2022-04-28T21:52:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2022\/04\/word-image-154.png\" \/>\n<meta name=\"author\" content=\"Abby Moreland\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abby Moreland\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/\",\"name\":\"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2022-04-28T21:52:58+00:00\",\"dateModified\":\"2022-04-28T21:52:58+00:00\",\"author\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c\"},\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c\",\"name\":\"Abby Moreland\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g\",\"caption\":\"Abby Moreland\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d","og_description":"Applies to: Transact version 2020.1.06 and above Affected operating systems: Linux Issue This issue occurs when opening a PDF file […]","og_url":"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/","og_site_name":"Ephesoft Docs","article_published_time":"2022-04-28T21:52:58+00:00","og_image":[{"url":"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2022\/04\/word-image-154.png"}],"author":"Abby Moreland","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abby Moreland","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/","url":"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/","name":"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2022-04-28T21:52:58+00:00","dateModified":"2022-04-28T21:52:58+00:00","author":{"@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c"},"breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/kb-when-opening-pdf-generated-by-recostar-on-linux-adobe-reader-displays-cannot-find-or-create-the-font-freesans\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"KB: When Opening PDF Generated by Recostar on Linux, Adobe Reader Displays \u201cCannot find or create the font FreeSans\u201d"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/e804bed5e357df5501393e7326e7013c","name":"Abby Moreland","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ephesoft.com\/docs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fa2d10b93123b579f1c0e858b2c49c0f?s=96&r=g","caption":"Abby Moreland"}}]}},"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/51088"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/users\/88"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=51088"}],"version-history":[{"count":3,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/51088\/revisions"}],"predecessor-version":[{"id":51093,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/posts\/51088\/revisions\/51093"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=51088"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/categories?post=51088"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/tags?post=51088"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}