Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1701

Better font than the standard font

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 2.0.0
    • None
    • Rendering
    • None
    • W7

    Description

      pdfbox\pdfviewer\PageDrawer.java has "Fallback: we can't find anything, so we have to use the standard font" code. However the standard font is a sans serif font. My suggestion is to use several standard fonts, i.e. for monospace, serif, sans serif, symbol, capitals, etc.

      I tried it (see patch) on page 1 of the "Bimbo" pdf of PDFBOX-1694, and the result looks better than without the change. (There are still other problems with the next pages, I believe that there is a different cause, maybe similar to the "Elvia" file of PDFBOX-1689).

      Attachments

        1. PDFBOX-1701.patch
          3 kB
          Tilman Hausherr
        2. Bimbo_Historia_20070409_Esp-01-bad.png
          159 kB
          Tilman Hausherr
        3. Bimbo_Historia_20070409_Esp-01-good.png
          158 kB
          Tilman Hausherr

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: