I know the question itself is illegal - asking to steal someone's home. :)
Anyways, it's a situation when a developer's logic is not working actually. With Browser's Developer Tool, I got the site's CSS. I located the @font-face
code inside the main.css
.
Here's what I got:
main.css:
path: http://www.example.com/assets/css/main.css
code:
@font-face {
font-family: 'the_font';
src: url("../fonts/fontname/fontname.eot");
bla bla
font-style: normal;
font-weight: normal;
}
So, according to the code the font file is in a folder named "fontname" under the "fonts" folder. And from the path's direction we can guess that the font's location is:
http://www.example.com/assets/fonts/fontname/fontname.eot
But it's generating a 404 page.
Why NOT the path's logic is working?
Just go to the page you want, click on "Show page source" or "show page resources" in the Developer menu (both work for this) and the page resources are listed in folders on the left hand side. Click the font folder and the fonts are listed. Right click and save file.
OpenType is the standard font format in common use. There are two subformats: TrueType (with the extension of . ttf) and CFF (. otf).
Add fonts on a Mac manuallyGo to Finder > Applications > Font Book. Click the + icon in the Font Book window bar and browse to find your font file. Double click on the font file to install. Done.
You can actaully do rightclick: inspect > Application (on the top tabs) > Frames (scroll on the left tabs)
Then you can find a Font
section where all loaded fonts are listed. It lists all that are loaded in any possible secure way.
Further more, It also previews them on the right, to make it even easier
Then you can right-click on the one you chose and click open in a new tab, and it downloads it. Then you can add a .woff at the end of the filename and use it anywhere. (you can check its extension on the bottom of the preview too)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With