WorldIsMine Posted September 29, 2006 Share Posted September 29, 2006 Hi, I have the problem. I want to import into my HTML page specific open type font (MyriadPro-Regular.otf – not the default windows font), how can I do it? I have already tried many variants, but didn’t solve the problem. I hope you can help me, thanks. Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 29, 2006 Share Posted September 29, 2006 If you are just using the font for buttons, you could just use images, or im not sure how or wether this will work, you could add the font to your website folder, then somehow get it to load on load.Then you would be able to use it... or suggestion 2...Use a font-family with your font first then something like arial second, then say to your users if you want to download the proper font click here, and tell them to shove it in their font folder Link to comment Share on other sites More sharing options...
WorldIsMine Posted September 29, 2006 Author Share Posted September 29, 2006 Thanks for advice, it’s not good politic to force user to download something. And I am using this font for all webpage text, so image… How do you think, if it is possible to import font without extra coding? With some kind of URL? Link to comment Share on other sites More sharing options...
holmedwa04 Posted September 29, 2006 Share Posted September 29, 2006 Yeh, I no you can do it by making it load on load but im not sure what the code is sorry. Link to comment Share on other sites More sharing options...
aquatsr Posted September 30, 2006 Share Posted September 30, 2006 If you're using a customized font I'm afraid your only options (as far as I know) are to have the user download the font from your site or to create text-images in, say, Photoshop or Macromedia Flash Pro or some similar program.Sorry. Link to comment Share on other sites More sharing options...
WorldIsMine Posted September 30, 2006 Author Share Posted September 30, 2006 It’s looks like, I have to use Arial. Link to comment Share on other sites More sharing options...
boen_robot Posted September 30, 2006 Share Posted September 30, 2006 There is one way.... WEFT but it works only in IE. Link to comment Share on other sites More sharing options...
WorldIsMine Posted September 30, 2006 Author Share Posted September 30, 2006 I have installed WEFT.This feather doesn’t support .otf extensions. Only .eot.WEFT puts the font file in page directory and imports into HTML code: @font-face { font-family: Times New Roman; font-style: normal; font-weight: normal; src: url(TIMESNE1.eot); }Advanced Microsoft user can make it without wizards WEFT. )))) Link to comment Share on other sites More sharing options...
strienenaar Posted October 1, 2006 Share Posted October 1, 2006 @font-face {font-family: Times New Roman;font-style: normal;font-weight: normal;src: url(TIMESNE1.eot);}Does this also work when I want to use a non-basic .ttf ???I want to use one in my webpage, but can't figure out how to make sure other users can also view my desired font. (Cloister Black) Link to comment Share on other sites More sharing options...
Chocolate570 Posted October 1, 2006 Share Posted October 1, 2006 You might also want to try the PHP GD Image libraries. They allow you to import fonts and put 'em on web pages...it would be easier if you're extracting the data from a database. Link to comment Share on other sites More sharing options...
strienenaar Posted October 1, 2006 Share Posted October 1, 2006 You might also want to try the PHP GD Image libraries. They allow you to import fonts and put 'em on web pages...it would be easier if you're extracting the data from a database. I have my own FTP server where the font is located.However I do not know the code to let other users see it properly without downloading the font for themselves.I am only a beggining HTML editor with Frontpage, so I am figuring out how to do that.---"HOOAH Soldier..." www.scf.nl.nu (Dutch) Link to comment Share on other sites More sharing options...
WorldIsMine Posted October 1, 2006 Author Share Posted October 1, 2006 You might also want to try the PHP GD Image libraries. They allow you to import fonts and put 'em on web pages...it would be easier if you're extracting the data from a database. Heh... I want to do static page. Without an application server. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now