Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > font face question

Reply
Thread Tools

font face question

 
 
charles cashion
Guest
Posts: n/a
 
      12-26-2007
I have created a short html program to test
between between the following font faces...
<font face=Times
<font face=Roman
<font face="Times Roman"
<font face="New Times Roman"
<font face="Times New Roman"
Each of these font declarations is followed
by the same short message. The five messages
are identical.

Here is the program
---------------------------------------------
<html>
<font face="comic sans ms">

&lt;font face="Times New Roman" size=6&gt;<br>
<font face="Times New Roman" size=6>
The quick brown fox jumps over the lazy dog. <br>
</font>

&lt;font face="New Times Roman" size=6&gt;<br>
<font face="New Times Roman" size=6>
The quick brown fox jumps over the lazy dog. <br>
</font>

&lt;font face="Times Roman" size=6&gt;<br>
<font face="Times Roman" size=6>
The quick brown fox jumps over the lazy dog. <br>
</font>

&lt;font face="Roman" size=6&gt;<br>
<font face="Roman" size=6>
The quick brown fox jumps over the lazy dog. <br>
</font>

&lt;font face="Times" size=6&gt;<br>
<font face="Times" size=6>
The quick brown fox jumps over the lazy dog. <br>
</font>
</font>
</html>
---------------------------------------------
Can somebody tell me what is happening?
Charles
(ps I am running windows xp and standard M$ fonts)

 
Reply With Quote
 
 
 
 
John Hosking
Guest
Posts: n/a
 
      12-26-2007
charles cashion wrote:
> I have created a short html program


A what?

> to test
> between between the following font faces...
> <font face=Times
> <font face=Roman
> <font face="Times Roman"
> <font face="New Times Roman"
> <font face="Times New Roman"
> Each of these font declarations is


not really a font declaration, whatever that is.

> followed
> by the same short message. The five messages
> are identical.
>
> Here is the program


This is not a program, friend.

> ---------------------------------------------
> <html>
> <font face="comic sans ms">
>
> &lt;font face="Times New Roman" size=6&gt;<br>
> <font face="Times New Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="New Times Roman" size=6&gt;<br>
> <font face="New Times Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="Times Roman" size=6&gt;<br>
> <font face="Times Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="Roman" size=6&gt;<br>
> <font face="Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="Times" size=6&gt;<br>
> <font face="Times" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
> </font>
> </html>
> ---------------------------------------------
> Can somebody tell me what is happening?


I'll try: you are posting some vaguely HTML-like character sequences and
calling them a program (although they don't comprise even a valid HTML
*page*), the putative object of which you have failed to mention, in a
post titled "font face question" which contains only one actual
question, namely the one I am vainly attempting to answer here.

> Charles
> (ps I am running windows xp and standard M$ fonts)


If you despise Microsoft so much that you can't even type the company's
name right, maybe you should change platforms. You didn't mention what
browser you were trying to "run" your HTML "program" in (among your
other errors) but if it's a flavor of IE, it could easier affect
(negatively) the results you were hoping to get (whatever they were).

You might want to look at, e.g.,
<http://www.faqs.org/faqs/usenet/posting-rules/part1/>
<http://www.anta.net/misc/nnq/help-us.shtml> and/or
<http://diveintomark.org/archives/2003/05/05/why_we_wont_help_you> .

HTH. If you can regroup your ideas and come back with a coherent
question (and a URL to validated code), maybe we can help more.

--
John
Read about the UIP: http://improve-usenet.org/
 
Reply With Quote
 
 
 
 
charles cashion
Guest
Posts: n/a
 
      12-26-2007
I will refrain from repeating the whole message.

John Hosking wrote:
J> A what?
Would you be less irritated if I said "SEGMENT"?

J> friend
Friends help friends, even when critical.

J> not really a font declaration
You are correct. I need to close each one with
a greater-than glyph ( > )...

<font face=Times >
<font face=Roman >
<font face="Times Roman" >
<font face="New Times Roman" >
<font face="Times New Roman" >

J> ...the putative object
J> of which you have failed to mention...
I have re-read my own message. I think my question
is clear. To put my question into another choice
of words, my question is, why do five different face
declarations produce identical glyphs?

J> If you despise Microsoft
Despise? Did my abbreviation offend you, John?
You mean that there are people that still despise
Microsoft? Perhaps I have been writing text messages
and using abbreviations and have lost sensitivity.

I think you should judge people (or organizations)
according to both their good deeds and their greed.

Either way, you *will* think what you want.

J> ...didn't mention what browser...
You are correct. I am using Firefox 2.0.0.11

J> ...results you were hoping to get...
Perhaps my question was a bit too terse
for some people. I want to know why five different
face declarations produce identical lines of text.

J> ...URL to validated code...
I do not usually upload small test segments. But if
it makes any difference, my NON-program is uploaded
And to make it easy for some people, I will use an
easy-to-discern name for the non-program...
http://dunjas.com/JohnHosking.html

I must remember to remove it after some helpful
person answers my question.

J> *expensive* keeping a bear in a tall building
Ah yes... Criticism disguised as humor.

J> The service is obnoxious
True, but not constructive.

J>I've been hosed before
If you say so.

J> What would that have to do with it?
Mea Culpa. My filter originally contained a
typographical error. It was not *exact*.

J> Of course, none of this actually makes the spammer
J> "go away," but I don't see the spam, and that's
J> good enough for me.
That was actually helpful. Because you insisted that
Firefox filters work, I kept working on my (one)
filter until it was correct and functional.

Thank you John for calling attention to my ignorance.
You have done a much better job than me.
Charles
 
Reply With Quote
 
rf
Guest
Posts: n/a
 
      12-26-2007

"charles cashion" <tennis-> wrote in message
newsflcj.3462$nh7.469@trnddc01...

> Perhaps my question was a bit too terse


Terse?

Your original question was: "Can somebody tell me what is happening?".

That was not only terse but is in fact a non question. I could quite easily
say "it's raining".

> for some people. I want to know why five different
> face declarations produce identical lines of text.


Ah, an actual question.

Have a look at your computer. Do you find fonts called "New Times Roman", or
any of the other fonts? The only one that is on *my* computer is Times New
Roman.

And if you thing the comic sans ms one should be used it won't. You cannot
nest font elements.

--
Richard.


 
Reply With Quote
 
Neredbojias
Guest
Posts: n/a
 
      12-26-2007
Well bust mah britches and call me cheeky, on Wed, 26 Dec 2007 02:52:13
GMT charles cashion scribed:

> I have created a short html program to test
> between between the following font faces...
> <font face=Times
> <font face=Roman
> <font face="Times Roman"
> <font face="New Times Roman"
> <font face="Times New Roman"
> Each of these font declarations is followed
> by the same short message. The five messages
> are identical.
>
> Here is the program
> ---------------------------------------------
> <html>
> <font face="comic sans ms">
>
> &lt;font face="Times New Roman" size=6&gt;<br>
> <font face="Times New Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="New Times Roman" size=6&gt;<br>
> <font face="New Times Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="Times Roman" size=6&gt;<br>
> <font face="Times Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="Roman" size=6&gt;<br>
> <font face="Roman" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
>
> &lt;font face="Times" size=6&gt;<br>
> <font face="Times" size=6>
> The quick brown fox jumps over the lazy dog. <br>
> </font>
> </font>
> </html>
> ---------------------------------------------
> Can somebody tell me what is happening?


Yes. You are wasting your time. And ours.

PS: It's okay to waste our time with liberal abandon, but you have to be
funnier than that.

--
Neredbojias
Riches are their own reward.
 
Reply With Quote
 
Sid
Guest
Posts: n/a
 
      12-26-2007
On Wed, 26 Dec 2007 05:24:58 GMT, "rf" <> wrote:

: --
: Richard.


Happy festivities, Richard, Jukka, et al !!

Sid

 
Reply With Quote
 
charles cashion
Guest
Posts: n/a
 
      12-26-2007
rf wrote:
> "charles cashion" <tennis-> wrote in message
> newsflcj.3462$nh7.469@trnddc01...
>
>> Perhaps my question was a bit too terse

>
> Terse?
>
> Your original question was: "Can somebody tell me what is happening?".
>
> That was not only terse but is in fact a non question.


rf: my question was two sentences long. If you take the
second sentence out of context, it is not very acute.
*BUT* I know what you are saying. It is desirable for
posters to refrain from obtuse pointless questions.

I think I know what is happening.
If the firefox browser does not recognize
face=roman or face=times or any other non
recognizable face, it defaults to Times
New Roman.

Now my question is: Is it possible to change
the *default* font?

OBTW rf is correct. One cannot nest fonts.
Charles
 
Reply With Quote
 
Harlan Messinger
Guest
Posts: n/a
 
      12-26-2007
charles cashion wrote:
> rf wrote:
> > "charles cashion" <tennis-> wrote in message
> > newsflcj.3462$nh7.469@trnddc01...
> >
> >> Perhaps my question was a bit too terse

> >
> > Terse?
> >
> > Your original question was: "Can somebody tell me what is happening?".
> >
> > That was not only terse but is in fact a non question.

>
> rf: my question was two sentences long. If you take the
> second sentence out of context, it is not very acute.
> *BUT* I know what you are saying. It is desirable for
> posters to refrain from obtuse pointless questions.
>
> I think I know what is happening.
> If the firefox browser does not recognize
> face=roman or face=times or any other non
> recognizable face, it defaults to Times
> New Roman.
>
> Now my question is: Is it possible to change
> the *default* font?


If you don't know what fonts the user has, how could you presume to
choose his *default* font for him? The user chooses his default font, or
leaves it as was set in the browser when it was installed.

>
> OBTW rf is correct. One cannot nest fonts.


Yes, one can. From the transition DTD:

<!ELEMENT FONT - - (%inline* -- local change to font -->

and

<!ENTITY % inline "#PCDATA | %fontstyle; | %phrase; | %special; |
%formctrl;">

and

<!ENTITY % special
"A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT |
MAP | Q | SUB | SUP | SPAN | BDO | IFRAME">

FONT can contain %inline, which can be %special, which can be FONT.
There is no self-exclusion as there is for A or FORM:

<!ELEMENT A - - (%inline* -(A) -- anchor -->
<!ELEMENT FORM - - (%flow* -(FORM) -- interactive form -->
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      12-26-2007
charles cashion wrote:

> I think I know what is happening.
> If the firefox browser does not recognize
> face=roman or face=times or any other non
> recognizable face, it defaults to Times
> New Roman.
>
> Now my question is: Is it possible to change
> the *default* font?


Of course, but this is a browser setting question, not really an HTML
question. You can change the default fonts for all modern browsers.

Firefox:
"Tools > Options > Content" "Fonts & Colors" "Default Font:"
or
"Edit > Preferences > Content" "Fonts & Colors" "Default Font:"

Opera:
"Tools > Preferences > Web Pages" "Normal font"

IE:
"Tools > Internet Options > General" "Fonts"

SeaMonkey/Netscape:
"Edit > Preferences > Appearance > Fonts"



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
Beauregard T. Shagnasty
Guest
Posts: n/a
 
      12-26-2007
charles cashion wrote:

> think I know what is happening. If the firefox browser does not
> recognize face=roman or face=times or any other non recognizable
> face, it defaults to Times New Roman.


No, it defaults to whatever you have your own browser set to use as ..
well .. as its default font.

"face=roman" would only work if you have a font on your computer
explicitly named "roman".

> Now my question is: Is it possible to change the *default* font?


See your browser's options. All modern browsers have the ability to set
default fonts (and sizes). In Firefox, the settings are located at:
Tools > Options > Content tab
"Fonts & Colors" > "Default font:"
and more using the: [ Advanced ] button

> OBTW rf is correct. One cannot nest fonts.


Cannot?

<p style="font-family: 'Times New Roman', serif;">
The quick brown fox <span style="font-family: Arial, sans-serif;">jumped
over</span> the lazy dog's back.
</p>

BTW, you should be using modern markup instead of the 1990's style
<font face="something">. Learn CSS, too.

--
-bts
-Motorcycles defy gravity; cars just suck
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swing Font, it's Java Font? ot native? how install new font? mttc Java 2 07-03-2009 07:29 PM
About the "Face" field in message headers. (No, not X-Face) Fierce Guppy NZ Computing 6 12-17-2007 05:52 PM
Standard Font Face A P ASP .Net 0 04-13-2005 09:16 AM
FACE TO FACE WITH THE D60 !!! Annika1980 Digital Photography 12 11-09-2003 03:42 AM
Face to Face Purchase Help UK Len Digital Photography 9 11-01-2003 10:33 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57