Re: Fonts in Apple's Help Viewer
Re: Fonts in Apple's Help Viewer
- Subject: Re: Fonts in Apple's Help Viewer
- From: Chris Ridd <email@hidden>
- Date: Wed, 02 Apr 2003 08:46:22 +0100
On 1/4/03 9:20 pm, John Nairn <email@hidden> wrote:
>
I have tried many things, but the Help Viewer will not use a specified
>
font. Can it be done?
>
>
Here is what I tired:
>
>
1. In header of index.html file in help book folder, I added meta tags:
>
>
<META NAME="AppleTitle" CONTENT="Date Calculator Help">
>
<META NAME="AppleIcon" CONTENT="AppIcon.jpg">
>
<META NAME="AppleFont" CONTENT="Lucida Grande">
>
>
The title and icon seem to work, but the font is ignored.
I believe that AppleFont is only used for rendering the title of the book,
not for changing the font used to render the content. If you use the vile
<font> tag everywhere in your page it will indeed use the font face you
specify.
>
2. I also added style tags to header such as
>
>
<style type="text/css">
>
* { font-family: Lucida Grande; }
>
BODY { background-color: #ffffff; }
>
H2 { font-size: large; color: #006600; font-weight: bold;}
>
H3 { font-size: medium; color: #660000; font-weight: normal;}
>
</style>
>
>
Help Viewer ignored the style and I verified they are correct because
>
opening the file in a browser accepts all style settings.
Help Viewer doesn't support CSS yet, and only supports HTML 3.2 (except for
forms, plug-ins and Java.)
You may want to read the AppleHelp documentation to find out more :-)
<
http://developer.apple.com/techpubs/macosx/Carbon/HumanInterfaceToolbox/App
leHelp/ProvidingUserAssitAppleHelp/AHTasks/iDesigning_a_Help_Book.html>
Cheers,
Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.