Skip to content

Ability to set a global default/base font for a workbook #85

Description

@bothness

ExcelJS is hard-coded to default to Calibri 11pt in all workbooks and sheets that it generates. This can only be overridden by cell, row or column, but cannot be changed globally at a workbook or sheet level.

This is particularly annoying since Calibri is only available by default on Windows and not, for example, in MacOS or Linux-based operating systems, which end up substituting inappropriate fonts like Times New Roman.

At the moment, we have to add awkward workarounds or hacks to apply a more universally available font like Arial to all of the rows/columns in each workbook sheet. There's a good discussion of this issue in this thread.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions