Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 612
    • Issues 612
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 42
    • Merge Requests 42
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • poppler
  • poppler
  • Issues
  • #829

Closed
Open
Created Sep 15, 2019 by tamunro@tamunro

pdffonts: long font names break fixed-width output

In pdffonts 0.80.0, fonts with long names break the fixed-width table format of the output. Here are examples from the attached file, Font_problems.pdf

name                                 type              encoding         emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
MHAFVK+Times#20New#20Roman           TrueType          WinAnsi          yes yes no     103  0
BMPSSD+Times#20New#20Roman,BoldItalic TrueType          WinAnsi          yes yes no     105  0
GXZEYL+Times#20New#20Roman,Bold_00   TrueType          Custom           yes yes no     108  0
WLZFBK+Times#20New#20Roman,Bold_0    TrueType          WinAnsi          yes yes no     110  0
GXZEYL+Times#20New#20Roman,BoldItalic_1_00 TrueType          Custom           yes yes no     112  0
LOMNPV+Times#20New#20Roman,Italic    TrueType          WinAnsi          yes yes no     114  0
RXNFTE+Times#20New#20Roman_2_00      TrueType          Custom           yes yes no     117  0
QWBTND+Symbol_00                     TrueType          Custom           yes yes no     120  0
AQAEUC+Times#20New#20Roman,Italic_3_01 TrueType          Custom           yes yes no     123  0
#cb#ce#cc#e5-GBK-EUC-H-Identity-H-Identity-H CID Type 0C       Identity-H       yes no  no      59  0
CLIMBI+TimesNewRomanPSMT             Type 1C           Custom           yes yes yes     54  0
CLIMDK+TimesNewRomanPS-BoldItalicMT  Type 1C           Custom           yes yes yes     52  0
CLIMDL+Times#20New#20Roman           Type 1C           Custom           yes yes yes     56  0
CLIMCI+TimesNewRomanPS-BoldMT        Type 1C           Custom           yes yes yes     63  0
CLIMEL+TimesNewRomanPS-ItalicMT      Type 1C           Custom           yes yes yes     60  0
MS#20Mincho-90ms-RKSJ-H-Identity-H-Identity-H CID Type 0C       Identity-H       yes no  no      66  0

This introduces errors when importing into a spreadsheet. I've tried replacing spaces with tabs using regular expressions, but some font types and names contain spaces, so that introduces other errors. A simple fix for this could be to widen the name column by 20 characters, at least as an option. More elaborate, but probably more robust and useful, would be to offer tab-separated output as an option.

Edited Sep 24, 2019 by tamunro
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None