Forum Moderators: open

Message Too Old, No Replies

WEFT html tag recognition problem - anybody help?

Problem using WEFT - does not recognize single quoted font names

         

whinny55

11:47 pm on Jun 7, 2004 (gmt 0)

10+ Year Member



Hello, newbie here. Quick question for you html gurus.
I just started using WEFT so users can see my site content the way it was intended. Problem: WEFT sees double-quote font family specifiers, but not single quote paragraph font family specifiers. E.G. ...

******************************************************
<p style="font-family:'BernhardMod BT'; font-weight:bold; font-size:14pt; color:rgb(0,153,0); line-height:200%; font-family:"Flat Brush"; font-style:normal; font-weight:normal; font-size:26pt; color:rgb(0,153,0); text-align:center; line-height:100%; margin:0%; padding:0%;" align="center">Nee!</p>
******************************************************

Problem: WEFT sees "Flat Brush" during its wizard font detection. It never sees 'BernhardMOD BT'. Instead, it displays the error,

'BerhardMod BT' not a recognized font.

Can anybody help? Thanks much!
whinny55

vkaryl

12:02 am on Jun 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hmmm. Well, I still have a couple of sites using .eot declarations in the css. One of them uses single quotes, the other uses no quotes at all. Both work just fine. I don't use WEFT ongoing any more for a variety of reasons, but even "pre-css" I don't remember having that sort of problem....

whinny55

5:54 am on Jun 8, 2004 (gmt 0)

10+ Year Member



Hi VKaryl :) Thanks for the reply! I got it figured out after all. But thank you for taking the time to answer ;)

Whinny55

BlobFisk

8:00 am on Jun 8, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, whinny55!

Glad you got it sorted. Would you mind outlinig the solution for anyone else that may have this problem?

whinny55

3:30 pm on Jun 8, 2004 (gmt 0)

10+ Year Member



Thanks for the welcome BlobFisk! ;)

Sure thing! It's simple really. WEFT kept reporting that fonts delineated by single quotes were not found. I discovered that actually that only happens if you try and specify both a paragraph font style and face font in the same paragraph. In reality, even though it reported an error, it was actually working anyway. All I did was start a fresh prj, leave the yellow warning icon fonts enabled for embedding, and let WEFT finish changing of my web pages, (with "publish" disabled).

When it was done, I checked the pages to see which ones it didn't recognize. Then I manually inserted its tiny code snippets into the <head> area of those pages. E.G. ...

// -->
</script>

<STYLE TYPE="text/css">
<!-- /* $WEFT -- Created by: Whinny on 6/7/2004 -- */
@font-face {
font-family: Flat Brush;
font-style: normal;
font-weight: normal;
src: url(fonts\FLATBRU0.eot);
}
-->
</STYLE>

P.S. - it's really easy to test your work. Simply /move/ the affected real fonts out of your \Windows\Fonts folder, upload your new pages, then view them. I think this is an awesome tool. So much better than converting all my text to gifs (although I did convert some - the page titles).

Thanks again!
Whinny