Skip to content

BUG: Incorrect Noto Sans font paths in Neos.Neos package #4005

@alexander-nitsche

Description

@alexander-nitsche

Description

At least the Noto Sans font paths in the Neos.css and the Includes-built.css of the Neos.Neos package are incorrect, as they are

../Fonts/NotoSans/NotoSans-Regular.ttf

instead of

../Fonts/NotoSans-Regular.ttf

The organization of the fonts has probably been flattened recently without adjusting the paths. The other CSS files in the same package have correct paths, e.g. Lite.css, Login.css, etc.

Steps to Reproduce

  1. Include the Neos.css stylesheet in the backend template of an arbitrary document type.
  2. Apply style='font-family: "Noto Sans", sans-serif;' to an arbitrary text element of that template.
  3. Verify that the text is not rendered in Noto Sans and that the browser console displays an appropriate error for the missing font.

Expected behavior

The text should be rendered in Noto Sans.

Actual behavior

The text is rendered in the fallback font.

Affected Versions

Neos: 9.0, 8.2, 7.3, 5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions