Skip to content

Pango nightmares #570

Closed
Closed

Description

@rvagg

I just upgraded https://nodei.co and had to yak shave my way to find a solution to my custom fonts not showing up any more. I believe related to this problem are #548 and #561. The workaround was to revert pango being enabled as it was in 7522aca at which point everything worked again.

Scanning some of the recent font related problems in the issues I wouldn't be surprised if this is biting a large number of people and perhaps we should view it as a breaking change and revert that commit (or at least pango being enabled).

Activity

  1. jakeg commented on Jun 24, 2015

    @jakeg
    Contributor

    Personally I'd like to see making pango a requirement.

    As you say, lots of issues/frustrations have come up recently in relation to font problems, and I think part of this is that some people are installing with pango, others without, and without pango some things (e.g. fallback fonts) just aren't possible.

    Is there a good reason for not making pango a requirement?

    Currently we (creating printed yearbooks for hundreds of customers) use our fork of node-canvas that I haven't touched the code on since December because I know it works and I'd be very nervous about upgrading to the non-forked version with the plethora of font-related bugs I've seen lately.

  2. rvagg commented on Jun 24, 2015

    @rvagg
    ContributorAuthor

    if it's to become a requirement then we should bump major version to indicate breakage - my use is simple, load a font by pointing to a particular path and then explicitly insert that to the context and refer to it by that name - if pango become necessary then we'd need a migration path for that usage to a pango-happy usage and tbh I don't know what that is (I've messed with fontconfig to no avail)

  3. chearon commented on Mar 14, 2018

    @chearon
    Collaborator

    Closed via #715

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