question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Removing un-used fonts directory in third_party/generated.

See original GitHub issue

In third_party/generated we have fonts which is currently used by bootstrap-3 only to store glphyicons fonts. Earlier it was used by font-awesome-4 also but after upgrading tofont-awesome-5 now it uses web_fonts directory due to change in its directory structure.

After upgrading to bootstrap-4 as don’t use glphyicons the fonts directory should be empty considering that no new lib is added which stores data in fonts directory.

if the fonts dir is empty after the migrating to bootstrap-4 it can be removed in the scripts/build.py which builds and creates the third_party/generated folders and copy/combines all the library files

To learn more about it see the comments in the PR #6789 & in this doc First remove the _generate_copy_tasks_for_fonts for the fonts folder which excutes in build_third_party_libs() of build.py and then remove all the FONTS_RELATIVE_DIRECTORY_PATH & FONT_DIR at the needed places and update the fontspath in manifest.json

This needs good testing for the safe removal of the fonts folder, please do check all the console log at places for any 404 error through fonts directory, cross-check manifest.json if there is not library using fonts as fontspath

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vojtechjelinekcommented, Oct 16, 2019

@khansaAmrouni Hi, I have assigned you! If you have any questions don’t hesitate to ask here.

0reactions
vojtechjelinekcommented, Nov 14, 2019

Fixed in #7978

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install or remove fonts on your Mac - Apple Support
Download or activate fonts. Open the Font Book app from your Applications folder. In Font Book, any fonts that are deactivated or haven't...
Read more >
Delete Unused Fonts For Quicker Bootups - XSolutions
On your PC, navigate to the Fonts folder using this path: C:\Windows\Fonts · Right-click the Fonts folder and select Copy from the dialog...
Read more >
Remove languages and fonts you don't use - Microsoft Support
How to remove fonts and languages that you don't use from Office. ... If you want to add a new font see Download...
Read more >
REMOVING UNUSED FONTS - Autodesk Community - AutoCAD
Search your AutoCAD paths, and AutoCAD fonts folder. Are you sure you are looking for ttf, and not shx fonts? Give a few...
Read more >
How to Install & Remove Fonts on Mac and Linux - groovyPost
We would rather make this font available for all users, so we click the Inactive copy, for which Access is Computer. We want...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found