Can I Add a custom Web Font ( Not Google font)


#1

I want to use a custom web font but don’t see how ??
please help


#2

@Ofel1 Hi,

Check out Blocs Guy’s tutorial on adding Google Fonts.


#3

Thanks for the help but I know how to add google fonts I need to add other web fonts


#4

Other… like?


#5

I’m assuming like any font that isn’t available through Google. For example, a while back I purchased a web font called Muller, but I cannot use it at present with Blocs. Having the ability to use self hosted fonts is high on my wish list for Blocs.


#6

You can buy an unlimited number of unique webfonts at MyFonts.


#7

Yes i know but how can you use them on blocs?


#8

good question. how do you manually upload a font on blocs without using google fonts?


#9

Much appreciated.


#10

I’m also looking for a solution to add fonts without using Google Fonts. There are a number of amazing free fonts on the internet, but thus far, if it’s not on Google Fonts I can’t use any of then - sad face. Any solution would be highly appreciated. Thanks!


#11

I am also looking for these possibilities, I switched from Sparkle which has many pro (and of course also cons) that could handle self hosted fonts with onboard technology. It would be super much appreciated to have this feature!!


#12

Here’s a way to do it, though it wont be visible within Blocs. It will only display after you’ve exported the project.

  1. Open textEdit or similar.
  2. Copy/paste the following:

@font-face {
font-family: “YourFontName”;
src: url(http://www.whereyourfont.com/islocated.ttf) format(“truetype”);
}
h1 { font-family: “YourFontName”, sans-serif }

**Note - You will need to define which tags the custom font will apply to.

  1. Save the file as “Whateveryouwant.css”
  2. In Blocs, go to Page > Settings.
  3. Click “+” @ “File Header Attachments” section.
  4. Locate “Whateveryouwant.css” and click done.

If done properly, when you export your project and load it, the custom font will be applied to the tags you defined.


Newbie
#13

also it’s useful to add .woff and .eot font files