Skip to content

Using <accept> for aliases doesn't work with Chrome. #1

@dumol

Description

@dumol

As per the font-conf manual, using <accept> for an alias means appending the acceptable families after the matching <family>. An example:

    <alias binding="same">
        <family>Menlo</family>
        <accept>
            <family>Liberation Mono</family>
        </accept>
    </alias>

The above would allow, for example, to have Menlo used if present. Liberation Mono would only be used if Menlo is missing.

However, that doesn't work on Chromium, where prefer seems to be required to have the alias working at all:

    <alias binding="same">
        <family>Menlo</family>
        <prefer>
            <family>Liberation Mono</family>
        </prefer>
    </alias>

But this means the original Menlo will never be used, even if present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions