aframevr / aframevr/aframe

Compress font assets

Open
#3,891 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

Description:

I noticed that the PNG file for the Roboto font can be compressed:
roboto

Using ImageOptim with Insane optimisation level, I can squeeze 17% off the initial weight for the same quality.

I can push a branch with all the assets optimised, but in the long term, it'd be better to integrate it in the publishing workflow.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the referenced Roboto font asset at https://cdn.aframe.io/fonts/Roboto-msdf.png and inspect the repository's publishing workflow. Compare ImageOptim's output with the current asset, then verify that the optimized font is published without quality loss and that any workflow change completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.