Skip to content

Running fontcustom on Windows 7 'apparently requires' woff2 as a dependency thus failing compilation. #362

Description

@classicmike

I'm currently trying to get fontcustom installed on a windows machine I have. I have followed the instructions as provided in the readme. Keep note that it makes no mention to explicitly install the Woff2 package from Google. Only Linux and Mac have those instructions.

When I try to run a compile step, the compilation fails like so:
screen shot 2017-11-22 at 5 46 37 pm

It make mention that woff2_compress doesn't exist in the file system.

Upon checking the source code

  • From the initialisation of the fontcustom script it runs check_woff2 as below:
    screen shot 2017-11-22 at 5 49 17 pm

It's not checking whether or not we are currently running windows bfore the woff2_compress check.

So that means one of two things:

  1. If I am required to install woff2 anyway that means the documentation is not that accurate and will need to be updated
  2. If we don't actually need to install woff2, then we need to check if we are currently running on windows before running the woff2 check.

Thanks.

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