FontLab Forum
2012-02-08, 20:02:00 *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the FontLab forum, read how to use it! Update: Archives from old MSN forums are now available on our forum.
 
   Home   Help Search Calendar Downloads Tags Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: Fail remote, work local  (Read 2219 times)
ArchivePoster
Guest
« on: 2000-05-10, 12:29:00 »

Posted by: Earthling
         

Logged
ArchivePoster
Guest
« Reply #1 on: 2000-05-10, 02:27:00 »

Posted by: Eugene
         

Hi Earthling,

Everything seems to run fine!

I ran both your 30.html and 31.html pages ... both show the same results with the abcdefg text in Gothic Blackletter. Afterall, both html files are identical except for the name of the font face/family being JSL Blackletter and Blackletter respectively.

I can't help you with the location of the WebFontProjects folder. Maybe, Si will provide an explanation ... or hopefully, when the product comes out of beta, you'll be able to change the location.

Cheers,

Gene


Logged
ArchivePoster
Guest
« Reply #2 on: 2000-05-10, 02:47:00 »

Posted by: Si
         

Both test pages work fine for me too. Can yo send me a screen captures showing the display failing in IE?

Si


Logged
ArchivePoster
Guest
« Reply #3 on: 2000-05-10, 02:57:00 »

Posted by: Earthling
         

Hi Gene -

I would be amazed if you're seeing it as it should come out and I'm not -- could you do me a favor and check once more? I put a gif to show how the font should look and renamed it 8s8t to make sure nobody has one of that name.

http://cogweb.english.ucsb.edu/cgi-bin/31.html

If you're seeing it right, what do I need to do on my system? I've tested it in Netscape, Opera, and IE5 -- and the fonts show up when I run it local but not remote -- unless of course I'm not using embedded fonts.

Earthling


Logged
ArchivePoster
Guest
« Reply #4 on: 2000-05-10, 03:12:00 »

Posted by: Earthling
         

Hi SI -

Well, that would be great if it's working -- I must have some local issue but I'd really like to know what it is.

I've posted local and remote screen capture (with text above and gif image of text below on each screen) at http://cogweb.english.ucsb.edu/cgi-bin/32.html

Thanks!

Earthling


Logged
ArchivePoster
Guest
« Reply #5 on: 2000-05-10, 03:36:00 »

Posted by: Eugene
         

Hi Earthling,

Seems to run fine ... I have attached a screen capture of your page (I can't seem to paste the screen image inline in this message ... a pity!)

Also, I should explain that the first time I ran 30.html, the text appeared almost instantaneously, and seemed to be in Arial type altho I noticed on Explorer's status line that the file JSLBLAC0.eot was being downloaded ... quite a huge eot file ... some 90K. I refreshed the page and up popped the text in your BlackLetter font.

I thought it rather odd, so I reran your two pages several times, including deleting the JSLBLAC0[1].eot file from the cache, and could not repeat the anamoly. The pages ran fine all the time. I am on Windows 98 SE and Explorer 5.

Sorry, but I don't understand why it's not working for you.

Gene

 

 

 

 


Logged
ArchivePoster
Guest
« Reply #6 on: 2000-05-10, 04:03:00 »

Posted by: Earthling
         

Hey Gene, that's cool! I'm thrilled it's working. What's going wrong on my end must be some minor glitch. The guy who make the font just made it embeddable -- I've been wanting to do this for a long time.

How do you put this into a stylesheet?

Earthling

 


Logged
ArchivePoster
Guest
« Reply #7 on: 2000-05-10, 04:18:00 »

Posted by: Eugene
         

Hi Earthling,

Just to correct a typo on my last message ... I meant when I first ran 31.html and not 30.html .

Incidentally, is the JSLBLAC0.eot file showing up in your Windows cache? Run FIND for .eot files on your cache drive, or you can be more specific with JSLBLAC0[1].eot .

Your html source is fine. I even directly downloaded your eot file; the URL binding in the header looks fine. The file name (excluding file extension) is in all CAPS, so you don't have an upper/lower case problem with UNIX servers.

It's baffling why it's not working for you.

I am curious to see what happens if you try one small change in your html code (not that you should have to do this at all) ... make the change from  src: url(JSLBLAC0.eot)  to   src: url(../cgi-bin/JSLBLAC0.eot) .

Good Luck,

Gene


Logged
ArchivePoster
Guest
« Reply #8 on: 2000-05-10, 04:54:00 »

Posted by: Earthling
         

Hi Gene -

The cache idea did it -- I had font download disabled. Duh! Anyway, thanks a lot -- I wouldn't have found it if I hadn't known the WEFT was working for others.

This has me worried though -- is this font embedding strictly IE? I'd like a browser-independent solution -- you guys must have discussed this.

I had no idea there was a security parameter for font downloads -- thanks for helping me figure it out.

I'm still wondering about how to put this into style sheets -- any ideas?

For a more realistic example, see http://cogweb.english.ucsb.edu/33.html 

Earthling

 


Logged
ArchivePoster
Guest
« Reply #9 on: 2000-05-10, 04:58:00 »

Posted by: Eugene
         

Hi Earthling,

How do you put this into a stylesheet?

You already have the code in your 31.html test program ... just cut & paste it into the HEAD section of any HTML program:


and in the BODY section of your html page, just reference the font either through the HTML FONT tag (as you did in your test program):

your text

or,

through the myriad other ways to reference fonts, such as, an inline CSS attribute:

Good Luck,

Gene

 


Logged
ArchivePoster
Guest
« Reply #10 on: 2000-05-10, 05:50:00 »

Posted by: Earthling
         

Hi Gene,

Thanks, the inline CSS was news to me. What I want though is to put it in a style sheet -- that is to say, a separate .css file that I then refer to in the header of the various files. I have it set up so that the .css file reference is in a template, so I just have to change it once to have it kick in for hundreds of files. 

The style sheet has things like this:

A.hide {  text-decoration: none  }
h1 {  font-size: 54pt; font-style: }
.f16 {  font-size: 16pt}

How can I fit it into this format?

Finally -- this is getting ridiculous, but you've saved me hours of meandering -- how you can force the page to use the embedded font rather than the local font when they have the same name? If that's possible.

Thanks.

Earthling.

 


Logged
ArchivePoster
Guest
« Reply #11 on: 2000-05-10, 09:09:00 »

Posted by: Eugene
         

Hi Earthling,

I was in the midst of sending you a long message when I lost my modem connection (shucks on MS, Bell Atlantic and/or AT&T) and it seems that the message disappeared into the ether as I had to logon back to Web Communities when I re-established connection. I would prefer to email you my comments as much of it is not WEFT-related and I don't care to extend this thread much longer, but your email address is not listed on the Member List.

Two short points:

  1. 33.html did not work correctly as the font names are not identical in the CSS statement
    @font-face {font-family: Blackletter;
                     src: url(cgi-in/JSLBLAC0.eot); }
     
    and the HTML statement
    8t8s">
    They must be the same. Since you have scattered tthroughout your document, it would be easier to make one change to the CSS statement, i.e. changing  Blackletter  to  8t8s . As you may know, you can greatly simplify your html code by better use of CSS and getting rid of all the tags ... particularly, as you only have one font in the document.
  2. I'm not sure that you can include the @font-face { ... } statement in a style sheet that needs to be loaded as it would require a secondary "meshed or overlapped" load, i.e. the HTML parser would require an initial load of your css style sheet which would itself require a load of the eot file. I would need to do some further investigation to see whether/how it can be done. Please send me (elue@worldnet.att.net) your email address to get back to you.

BTW, I am not associated with the WEFT team ... I'm just a plain user like yourself. I am in the process of trying to add some personalty to our family website through the use of WEFT and embedded fonts.

Cheers,

Gene

 


Logged
Tags:
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!