Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ghostscript PDF Options (font embedding policy)

Featured Replies

I need suggestions/help about some advanced options of Ghostscript.

There are different approaches for font embedding policy in pdf creation.

Some argue that PDF by definition is Portable Document Format, so all fonts should be embedded in the document. This will be a platform-independent solution. The problem is, document sizes will be big and there might be license uncertainties about fonts.

Another approach is to use the basic fonts when creating pdf docs and rely on built-in system fonts when rendering the document. Newer versions of Adobe Reader does not include classical Type 1 fonts, but rather rely on built-in Windows system truetype fonts for rendering pdf documents. Nevertheless, it does include a few last-resort fonts to replace any fonts that might not exist in Windows.

Assuming that the target is win32 users mainly using Adobe Reader, this is a practical solution.

That's what I have in mind: Completely remove fonts directory (base-14 type 1 fonts distributed with GS releases) of Ghostscript and arrange it so that it uses built-in win32 truetype fonts when creating PDF documents. Ghostscript is capable of doing this.

But the problem is, as soon as GS starts using Windows truetype fonts for distilling to pdf, all truetype fonts are being embedded inside the pdf.

Acrobat Distiller Parameters manual suggests the following options:

-c "<< /NeverEmbed [/Times-Roman /Times-Italic /Times-Bold] >> setdistillerparams"

These options are compatible with Ghostscript, but it works only when GS uses type 1 fonts for distilling. When GS relies on win32 truetype fonts directory, whatever font policy you define, nothing changes: All fonts (truetype) are embedded.

Does anyone know a way to use GS with win32 truetype fonts for distilling without embedding any fonts inside the document.


Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.