Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ogs-font loading issue due to stylus bug #1281

Merged
merged 1 commit into from
Nov 22, 2020

Conversation

JDNdeveloper
Copy link
Contributor

Fixes #1280

When upgrading webpack (00b295e) stylus was upgraded from 0.54.7 to 0.54.8 which broke embedurl(): stylus/stylus#2546

This caused the embedded ogs-font.woff data in ogs.css to be corrupt, leading to:
Failed to decode downloaded font: data:application/font-woff;base64,... and
OTS parsing error: incorrect file size in WOFF header in the console.

This change downgrades stylus to 0.54.7 which fixes the problem.

@anoek
Copy link
Member

anoek commented Nov 22, 2020

Woohoo, thanks for digging into that, and fixing it!

@anoek anoek merged commit f4e475d into online-go:devel Nov 22, 2020
@JDNdeveloper JDNdeveloper deleted the fixOgsFont branch November 22, 2020 04:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Icons not rendering, showing empty square
2 participants