This tutorial assumes you have a
reasonable understanding of the HTML coding behind email. The new
embedding script I use is the same one I've used right along into which
I've incorporated an ingenious idea--by a Frenchman who calls himself "Sir
Ille" ( from "Cyrille" I think)--and a couple of tweaks to circumvent
font-embedding problems caused by the Windows Media Player versions
9+. Using this workaround requires that only the stationery
maker apply Letterman's WMP9 fix if she
has that or a newer version of the player installed. After the
font(s) are embedded this way recipients will be able to see and forward
the embedded fonts without further attention. Here's the script and its necessary companion tags to highlight and copy--I've entered the address of an eot in both the object tag and the font's <bgsound> tag (the reason why I've also put it into that tag follows):
I insert all of this in the <head> section of my Source code just below the closing </style> tag. If I have a sound file in my stat I also put its <bgsound> tag in the <head> just above the <object> tag so that, in the event I add a midi using OE's "Background/Sound" dialog, only the actual sound tag will be altered--not the one containing my font (the dialog will use the first sound tag in the lineup). So here's how the source looks now. Notice that the new script is looking for "&efont.src&" rather than the object's "&efont.filename&" :
Here's how the coding looks after a trip to the Edit tab and back. Except for the new <bgsound> tag and a small script change, it's pretty much the same as ever ;-)
After you have your chosen font entered into the <object> tag you need to save your stat to Drafts. OE will warn you that "One or more of the pictures in this message could not be found" (because it doesn't recognize the EOT that's in the second <bgsound> tag)--but be sure to click "Yes" in answer to the warning. After the stat is saved, close it--then reopen it from the Drafts folder and go back to the Source tab. In the middle of the <object> tag you will find a "cid" number for your embedded font instead of its name and address:
Highlight and cut the font's cid number, then paste it into the special efont <bgsound> tag (in place of the address that's there). Be sure to retain the sound tag's "id=efont":
Since it is of no use from here on (unless you change your mind about which font you want to embed ;-) --you can now highlight the whole <object> tag and delete it. Here's what's left. Both the midi and the eot have cid numbers and separate id's in <bgsound> tags. I "id" the sound so I can delay it playing until the stat is Previewed--but it also helps to define which tag is which.
Now a trip to the Preview will show that an appropriate font size is needed. I'd set this one (Marita Script - HMK) at about 17pt in the main VBScript at the bottom of the HTML.
The reason the recipient doesn't need to have WMP9+ "repaired" with this method is that the <bgsound> tag is inherited from post to post whereas the <object> tag gets stripped clean in the coding. Here are a few other--optional--little things I do when I embed a font:
So there you have it more or less--and after you've done it a few times it'll be very easy. Be sure to let me know if any of this confuses you. Liefs,
Feel free
to save this page to your |