Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8234395

Review the possibility of encapsulating a choice of fonts used in JDK API docs

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • tbd
    • None
    • infrastructure

      The fact that the JDK API docs use DejaVu fonts has percolated to many different places.

      1. stylesheet.css
      2. dejavu.css (the name)
      3. inline styles used in some `module-info.java` files, e.g.

      <dt class="simpleTagLabel" style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif">Optional for the Java SE Platform:</dt>

      4. hardcoded in com.sun.tools.jdeps.ModuleDotGraph.DotGraphAttributes#FONT_NAME, build.tools.jigsaw.GenGraphs.ModuleGraphAttributes#DEFAULT_ATTRIBUTES, build.tools.jigsaw.ModuleSummary.HtmlDocument#STYLES, etc.

      5. hardcoded in the build scripts, e.g. make/Docs.gmk

            prappo Pavel Rappo (Inactive)
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: