Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I am under the gun to display some fonts on a firefox. I tried xfd (DW_EXAMPLES 15.*) and I guess I don't know how to specify the font name. When I run the program on a firefox or pvax it displays the default font ok (i.e. no cmd line arg). But I when I try to specify another font, no luck: primes> xfd "*-*-Courier-Medium-O-Normal-_-*-100-*-*-*-*-*-*" prim11$dua2:[uebersax.fonts.xfd]xfd.exe;1: error: Unable to open font *-*-Courie r-Medium-O-Normal-_-*-100-*-*-*-*-*-*! or primes> xfd TIMES_ROMAN14 prim11$dua2:[uebersax.fonts.xfd]xfd.exe;1: error: Unable to open font times_roma n14! I was hoping to be able to do the later since the DECW docs name the fonts this way. I am running SDC 5.1-B on the pvax and SDC 5.1-1 on the fox. Does anyone know how to make this work? Or have a working VMS font viewer? Thanks.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
603.1 | Looks like bad font wildcards | GOBBLR::MULHEREN | Kelly Mulheren, GObE & NetEd | Mon Apr 17 1989 10:42 | 43 |
I don't know anything about xfd, but assuming that it takes a regular DECwindows font wildcard, you need something like the following for the two examples you gave: *-*-Courier-Medium-O-Normal--*-100-*-*-*-*-*-* !no underscore *times*-14-* On a 75 dpi VS2000/GPX, the former resolved to -Adobe-Courier-Medium-O-Normal--10-100-75-75-M-60-ISO8859-1 and the latter to -Adobe-Times-Bold-R-Normal--14-140-75-75-P-77-ISO8859-1 -Adobe-Times-Bold-I-Normal--14-140-75-75-P-77-ISO8859-1 -Adobe-Times-Medium-I-Normal--14-140-75-75-P-73-ISO8859-1 -Adobe-Times-Medium-R-Normal--14-140-75-75-P-74-ISO8859-1 I've got a demo program that uses the GObE widget to display fonts. The files are clt::widget$misc:gobe-list-fonts.{exe, c} To run on VMS, define a foreign command for the executable; then give the program a valid DECwindows font wildcard. It will create a window and draw a text string in each font that the wildcard generates. NOTE: THIS PROGRAM WILL REPRODUCIBLY CRASH MFB/VMS SERVERS IF YOUR FONT WILDCARD RESULTS IN TOO MANY FONTS (SAY, MORE THAN 6)!!! THIS PROGRAM IS A VERY BAD CITIZEN...IT TRIES TO LOAD AS MANY FONTS AS IT CAN AND DOES NOT FREE THEM. On a 14 meg VS2000/GPX I can typically display 30-40 fonts. For more information, see the clt::gobe-widget notesfile (KP7). Regards, -Kelly | |||||
603.2 | Doc problem and pointer to xlsfonts for listing fonts | CVG::PETTENGILL | mulp | Mon Apr 17 1989 13:23 | 10 |
The VMS DECwindows documentation has a problem with the listing of fonts because of the convention used in TeX for representing dashes. A single dash is a short (en-)dash and two in a row are a longer (em-)dash. If you look very closely at the font list, you will see that one of the dashes in the middle of the font spec is longer so you should use two dashes. I have posted the X11R3 xlsfonts program in DW_EXAMPLES which will provide a listing of the fonts and metrics available, but it doesn't display the glyphs that make up the font. | |||||
603.3 | firefox decwindows mail | DRSUN::ROBERT | Wed Nov 22 1989 13:19 | 12 | |
MailRead*readWindow*messageText.font: -Adobe-Times-Bold-R-Normal--*-240-*-*-P-*-IS MailRead*readWindow*envelopeText.font: -Adobe-Times-Bold-R-Normal--*-240-*-*-P-*-IS These are the lines that I have in my decw$mail.dat file. On my firefox 3540. What I want to do is to change the font size of the read window. The font is so small that I am going blind. How do I change the font size to a larger font so that I will not go blind. Thanks Dave |