I am looking to use the old "phone book" font for a project I'm working on currently,
I have the fonts and was able to set up a stylesheet for them:
http://interlinked.cf/css/bellgothic.css
@font-face {
font-family: 'BellGothicStd';
src: url('/fonts/bell-gothic/BellGothicStd-Black.otf') format("opentype"),
url('/fonts/bell-gothic/BellGothicStd-Black.ttf') format('truetype'),
url('/fonts/bell-gothic/BellGothicStd-Black.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'BellGothicStd';
src: url('/fonts/bell-gothic/BellGothicStd-Bold.otf') format("opentype"),
url('/fonts/bell-gothic/BellGothicStd-Bold.ttf') format('truetype'),
url('/fonts/bell-gothic/BellGothicStd-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'BellGothicStd';
src: url('/fonts/bell-gothic/BellGothicStd-Light.otf') format("opentype"),
url('/fonts/bell-gothic/BellGothicStd-Light.ttf') format('truetype'),
url('/fonts/bell-gothic/BellGothicStd-Light.woff') format('woff');
font-weight: 100;
font-style: normal;
}
@font-face {
font-family: 'BellGothicBT';
src: url('/fonts/bell-gothic/BellGothicBT-Black.otf') format("opentype"),
url('/fonts/bell-gothic/BellGothicStdBT-Black.ttf') format('truetype'),
url('/fonts/bell-gothic/BellGothicStdBT-Black.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'BellGothicBT';
src: url('/fonts/bell-gothic/BellGothicBT-Bold.otf') format("opentype"),
url('/fonts/bell-gothic/BellGothicStdBT-Bold.ttf') format('truetype'),
url('/fonts/bell-gothic/BellGothicStdBT-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}
I then tried adding on a page:
font-family: BellGothicStd;
...which didn't seem to have any effect. I added
font-style: normal;
and bold
as well but neither did anything.
If I specify a fallback font, it uses that; otherwise it appears as Times New Roman.
Does anything else need to be done to use my custom font? I have been able to use them in the past with no issue. Perhaps the fonts are corrupted in some way that might prevent using them?
Yes, I am loading the external stylescript in the head, just like the main CSS file. I checked all the syntax and spelling; this happened when testing both locally and on the server.
In the past, I've downloaded complete packages for fonts, and here I just have the fonts themselves; do I need anything else to make it "work"?
UPDATE:
Does not work:
h1 {
font-family: 'BellGothicStd';
}
H1 heading now appears as Time News Roman, indicating a failure.
Same thing with:
h1 {
font-family: 'BellGothicStd';
font-weight: normal;
font-style: normal;
}
The font looks slightly different, but it's still Times New Roman.