Web Images Videos Maps News Shopping Google Mail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Embedding fonts
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
Alan J. Flavell  
View profile   Translate to Translated (View Original)
 More options 8 Nov 2005, 23:37
Newsgroups: comp.infosystems.www.authoring.site-design
From: "Alan J. Flavell" <flav...@ph.gla.ac.uk>
Date: Tue, 8 Nov 2005 23:37:41 +0000
Local: Tues 8 Nov 2005 23:37
Subject: Re: Embedding fonts

On Tue, 8 Nov 2005, Gérard Talbot wrote:
> I think I found a way to go around this issue... sort of. You can
> ask WEFT to analyze the webpage and then figure out the characters
> which will be needed from which fonts.

Indeed you can, in fact that's how WEFT is *supposed* to work, but at
my first attempt (with this Unicode range, which post-dates the latest
WEFT version, 3, that I found) it hadn't seemed to be working.

> > I've kludged up the following URLs, using material
> > from my normal unicode test area, to help in diagnosing the situation:
> > http://ppewww.ph.gla.ac.uk/~flavell/tests/unidata14.htm8
> > http://ppewww.ph.gla.ac.uk/~flavell/tests/unidata15.htm8

Really, those are of no further use now, as they reference the
incomplete downloadable font which I was testing.  But if you still
want to see how far I got...

> If you could change the file extension to html, I would try this
> feature.

Sorry, I don't understand why that's a problem? "htm8" is just a local
server convention for getting the server to advertise utf-8 encoding.  
Well, alright: try the same URLs ending in .html (which will be served
with the page encoding advertised as iso-8859-1) or ending in
.utf8.html , whichever appeals to you.  I've symlinked these
alternative URLs in the /tests/ subdirectory.

But as soon as they have fulfilled this purpose I'd expect to remove
them, as you have already achieved better results.

> http://www.gtalbot.org/DHTMLSection/AboriginalSerifDemo.html

> ABORIGI4.eot and ABORIGI5.eot are 25KB each and holding 19
> characters each.

> WEFT was able to analyze the webpage and then figure out the required
> characters from the Aboriginal Serif font.

Well done.

> On a different note, I downloaded Pigiarniq font from
> http://www.gov.nu.ca/Nunavut/English/font/
> and couldn't figure out where the Inuktitut characters were.

SIL Viewglyph shows them to be in their proper place, U+14xx and
U+15xx, I'm relieved to say.  There's some other glyphs in the PUA
(U+E002, U+E008, U+F7xx etc.) but your sample doesn't seem to make any
use of them - which is good in terms of web compatibility.

> So I let Weft figure this out:

> PIGIARN1.eot is 17.2KB

> http://www.gtalbot.org/DHTMLSection/PigiarniqSerifDemo.html

So, both of your test pages are displayed OK here on Mozilla (when I
have appropriate fonts available locally), and on IE6 using the
downloaded font (even when I haven't got a suitable font available
locally).  Good stuff.

If/when I get a bit of spare time, I'd like to understand why that
didn't work for me, because you don't seem to be describing anything
different than what I was trying myself.  But well done, anyway.  You
going to write this up somewhere as a how-to?

cheers


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google