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

include to download fonts with different weight into local #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

include to download fonts with different weight into local #11

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 25, 2018

Hi, I tried to use your code and it's working however, for multi weighted font it doesn't seems to work unless i have to do it individually. I have here the changes which were able to solve such issues.

Regards,

@princehorn
Copy link

Hi @EmerR46 can you explain exactly, what you want to achieve?
To get different font weights of a Font family just set them in the URL. The different weights will be set in the CSS file targeting the corresponding font files.
Example:
goofoffline outCss=roboto.css "https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap"

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.

2 participants