Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 24, 2008, 11:45:59 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: font issue  (Read 461 times)
RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2643



« on: January 31, 2008, 04:37:51 AM »

Is it not true that if I can see a particular font on a webpage, then that means that I've got that font on my computer?

I'm using this website to lookup bible passages in greek.  Enter a 1 in the box after "Matthew" and you'll see the greek.

I'd like to copy/paste from it but when I paste it, it comes out in english letters.

There are lots of sites like that but I can't paste from any of them.

How can I copy/paste from sites like that for my own webpages?

Thanks!
Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
philvis
Master Jedi
*****
Offline Offline

Posts: 1063


« Reply #1 on: January 31, 2008, 05:02:36 AM »

If I use this in a css file :

Code:
font-family:Symbol, Arial,  "Sans Serif";

it displays like the page you linked to using IE7 but not Firefox.

The arial and sans serif declarations are used if a user doesn't have symbol installed on their machine.

Upon checking, there is lots of info about making FF display symbols but it's a user action that a designer can't control.
Logged

RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2643



« Reply #2 on: January 31, 2008, 05:08:15 AM »

So does that mean that many people just can't see the greek font that's on those websites?

Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
philvis
Master Jedi
*****
Offline Offline

Posts: 1063


« Reply #3 on: January 31, 2008, 06:00:19 AM »

Your link displays the correct greek symbols in FF. Looking at the source:

Code:
<center><font face="Symbol" size="4"><sup>1</sup><span ID="word"
onClick="l('to/te_d---------_s');">tote</span> <span ID="word"
onClick="l('o(_ra----nsm-_s');">o</span> <span ID="word"


which goes on for what appears to be several hundred lines ... it's doable with javascript if you want to.
Logged

RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2643



« Reply #4 on: January 31, 2008, 06:10:32 AM »

Thanks, philvis.

Sure.  I'm an old fart but willing to try a new trick  Smile

Can you suggest a script?  I'd much rather have text on the page than try to convert portions of it to images.
Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
MrPhil
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3106



« Reply #5 on: January 31, 2008, 02:55:47 PM »

Is it not true that if I can see a particular font on a webpage, then that means that I've got that font on my computer?

Well, you've got that font for that browser. Are you viewing the "pasted in" text in that browser, or is it in a plain text editor or word processor? They may not know anything about the font called for by the web page and browser.

Quote from: RickJ
I'm using this website to lookup bible passages in greek.  Enter a 1 in the box after "Matthew" and you'll see the greek.

I'd like to copy/paste from it but when I paste it, it comes out in english letters.

Well, the web page itself is coded UTF-8. What are you pasting into? These "english" (actually, Latin) letters correspond to the Latin alphabet transliteration that the greekbible.com website uses, called "Beta Code". So they're not actually displaying UTF-8 codes (probably double byte) corresponding to the Greek letters, but rather, Latin letters. Looking at the source for the page of Matthew:1, I see "bibloV", which is the Beta Code for the Greek beta-iota-beta-lambda-omicron-terminal sigma. In the Symbol font, that would be rendered in the appropriate Greek letters. View the page source for the Greek text and see how this transliterated Latin alphabet text is displayed in the Symbol font. Don't worry about each word's Javascript link to a dictionary or whatever they use to display information about the word. In fact, all you need to do with the cut-and-pasted text is wrap it in <font face="Symbol">...</font> and it will display correctly as Greek.

On the other hand, if you want this to show as Greek in a word processor or flat file editor, that may be quite difficult.
Logged

RickJ
"Tables Guy": In Tattoinese, that translates as
Über Jedi
*****
Offline Offline

Posts: 2643



« Reply #6 on: January 31, 2008, 03:43:22 PM »

Awesome!  No, all I want to do is display words and phrases (nothing as complex as that site does) on webpages.

...off to experiment.  Thank you!
Logged

Rick.
Trying to daydream, but my mind keeps wandering.

Ecumenical Apologetics | Affordable WebsitesSt. Gabriel Radio
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM