On Jan 26, 2008 3:49 AM, dpvc <[EMAIL PROTECTED]> wrote: > > > The fonts I downloaded are 80Mb! > > You downloaded the wrong thing. There are two kinds of fonts used by > jsMath: one is standard TTF fonts that the browser can use like any > other font. These are called the "jsMath TeX fonts", and are what the > warning message is complaining about. The link on the jsMath control > panel to "Missing Fonts" takes you to a page that explains this and > links to the download page for the missing fonts. That is the page > William and others have pointed you to in other messages. These fonts > are small and are installed on the machine that is running the browser > that is viewing pages that contain jsMath. > > The other type of font is called the "jsMath Image Fonts" and is the > 80 MB download you talk about. These are not really fonts, they are > collections of images of the characters in the fonts (an image for > each character in each font in each size that jsMath uses, and so > there are tens of thousands of them). These go on the SERVER, as part > of the jsMath folder. Individual users don't usually install these on > their machines, but since sage is running locally on your machine, it > has a full installation of the jsMath server files, and so these image > fonts must be there as well. ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sage (the SERVER) actually does *not* include the 80MB jsMath Image Fonts. I made the decision not to include them a long time ago, mostly because of disk space and configuration issues, and it hasn't been revisited yet. > These are what get used if the browser > doesn't have access to the jsMath TeX fonts described above; that is, > when you see the font warning message, it is these image fonts that > jsMath falls back on. Actually since Sage does not include those fonts, the fallback math typesetting is currently using unicode. > A normal user doesn't have to worry about the jsMath image fonts, only > the jsMath TeX fonts, but since you are really running a jsMath server > locally, sage users do have to have (and understand) both. I don't think we have to have both, since in fact we don't have both. > > And where should they be installed? I can't work out where the > > notebook server expects to find them. > > The jsMath TeX fonts are installed in the place that all other fonts > go on your system (e.g., in the Fonts control panel under Windows, or > ~/Library/Fonts on Mac OS X, or ~/.fonts on linux). > > The jsMath image fonts are unpacked into the jsMath source directory > (somewhere inside the sage directories, I assume), and that is Presumably here: SAGE_ROOT/data/extcode/javascript/jsmath/ > documented on the author's download page of the jsMath website. But > you should not be having to deal with that, as I suspect the sage > distribution already includes these image font files in the correct > place. We don't due to size issues, as mentioned above. William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
