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

loading multiple styles #3

Open
javismiles opened this issue Dec 1, 2013 · 2 comments
Open

loading multiple styles #3

javismiles opened this issue Dec 1, 2013 · 2 comments

Comments

@javismiles
Copy link

hi,
im confused about how to load and address multiple styles

i try to load all the styles of Droid Serif for example like this

<script> WebFont.load({ google: { families: ['Droid Serif:n4,i4,n7,i7'] } }); </script>

And then what Font-family values do i have to use to access them?
i tried this:
wf-droidserif-i7
to access the bold italic style but no luck

how do i address each of the 4 styles?

thanks lots

@bramstein
Copy link
Contributor

You can describe multiple styles by combining them with a comma. For example, if you would like to describe the italic bold and normal bold of Droid Serif, your fvd would be Droid Serif:n7,i7. I assume you are using the Web Font Loader? Perhaps you could open an issue there and describe your problem in more detail?

@javismiles
Copy link
Author

hi there bramstein :)
i dont know why the text didnt appear,
look i already did that

WebFont.load({
google: {
families: ['Droid Serif:n4,i4,n7,i7']
}
});

so i understand that, but how do i reference that on css later?
font-family: ????

if i want the bold italic style, what do i put on css?

where is the webfont git?

thank you :)

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

No branches or pull requests

2 participants