pdf - Which CFF font fields make a visual difference? -


i'm writing converter cff (postscript type 2) fonts, , i'm wondering fields converter can remove without making visual difference when font used in pdf file.

i think these fields can removed or changed:

  • /fontname
  • /postscript.fstype
  • /postscript.origfonttype
  • /postscript.origfontname
  • /postscript.origfontstyle
  • /fontinfo.version
  • /fontinfo.notice
  • /fontinfo.copyright
  • /fontinfo.fullname
  • /fontinfo.familyname
  • /fontinfo.weight
  • /fontinfo.isfixedpitch
  • /uniqueid
  • /xuid

i think these fields must kept, because affect rendering:

  • /strokewidth
  • /painttype
  • /charstringtype
  • /fontmatrix
  • /encoding
  • /charstrings
  • /private.bluevalues
  • /private.otherblues
  • /private.familyblues
  • /private.familyotherblues
  • /private.bluescale
  • /private.blueshift
  • /private.bluefuzz
  • /private.stdhw
  • /private.stdvw
  • /private.stemsnaph
  • /private.stemsnapv
  • /private.subrs
  • /private.globalsubrs
  • /private.defaultwidthx
  • /private.nominalwidthx

i'm not sure these fields:

  • /fontinfo.italicangle
  • /fontinfo.underlineposition
  • /fontinfo.underlinethickness
  • /fontbbox
  • /basefontname
  • /basefontblend
  • /private.forcebold
  • /private.languagegroup
  • /private.expansionfactor
  • /private.initialrandomseed
  • /private.unknown12015

so, of fields above , of them don't make visual difference in rendering, when font used in pdf file?


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -