victoria@sbi.com (Victoria Drozdov) (10/26/90)
I have seen a lot of postings lately on font problems under Sun's Openwin 2.0. We have run into similar problems, and a solution. The font schema under Openwin is very different. Openwin uses scalable fonts. This means that for any of the available font families, you can access fonts sizes 1-255. All of the fonts available under X11R3 and X11R4 ARE available under Openwin. (The problem that most people seem to be having is aliasing to the actual fonts...) Openwin supports the xlfd font names (long font names of about 10 words each). Openwin does not support the alias names that were available under X11R3 and X11R4. There is a completely different aliasing schema under Openwin. It depends on a file called Synonyms.list to contain the necessary aliases. We have already gone through the effort of creating that file for full compatability of Openwin to X11R3/X11R4. Following this passage you will find the instructions for installing that file and the file itself. Once the Synonyms.list is installed, you can use any of the X11R4/X11R3 aliases. Donot worry that it looks like only the font family names are being aliased. That is exactly the case. To use a needed font, simply put a number after the family name (xterm -font courB14). I would like to hear your feedback with any problems. (I also would like to thank Susan Bikford from Sun who helped figure out this problem.) Instruction: 1. cd $SOME_FONT_DIR 2. create Synonyms.list file with aliases that are shown below 3. cp $OPENWINHOME/lib/fonts/Compat.list . 4. $OPENWINHOME/bin/bldfamily (this will create a Families.list file) 5. xset fp+ `pwd` 6. xset fp rehash The following is a listing of the new Synonyms.list file. (courR) /Courier _FontDirectorySYN /courr /Courier _FontDirectorySYN (courB) /Courier-Bold _FontDirectorySYN /courb /Courier-Bold _FontDirectorySYN (courBO) /Courier-BoldOblique _FontDirectorySYN /courbo /Courier-BoldOblique _FontDirectorySYN (courO) /Courier-Oblique _FontDirectorySYN /couro /Courier-Oblique _FontDirectorySYN (helvR) /Helvetica _FontDirectorySYN /helvr /Helvetica _FontDirectorySYN (helvB) /Helvetica-Bold _FontDirectorySYN /helvb /Helvetica-Bold _FontDirectorySYN (helvBO) /Helvetica-BoldOblique _FontDirectorySYN /helvbo /Helvetica-BoldOblique _FontDirectorySYN (helvO) /Helvetica-Oblique _FontDirectorySYN /helvo /Helvetica-Oblique _FontDirectorySYN (ncenR) /NewCenturySchlbk-Roman _FontDirectorySYN /ncenr /NewCenturySchlbk-Roman _FontDirectorySYN (ncenB) /NewCenturySchlbk-Bold _FontDirectorySYN /ncenb /NewCenturySchlbk-Bold _FontDirectorySYN (ncenBI) /NewCenturySchlbk-BoldItalic _FontDirectorySYN /ncenbi /NewCenturySchlbk-BoldItalic _FontDirectorySYN (ncenI) /NewCenturySchlbk-Italic _FontDirectorySYN /nceni /NewCenturySchlbk-Italic _FontDirectorySYN (timR) /Times-Roman _FontDirectorySYN /timr /Times-Roman _FontDirectorySYN (timB) /Times-Bold _FontDirectorySYN /timb /Times-Bold _FontDirectorySYN (timBI) /Times-BoldItalic _FontDirectorySYN /timbi /Times-BoldItalic _FontDirectorySYN (timI) /Times-Italic _FontDirectorySYN /timi /Times-Italic _FontDirectorySYN (charR) /Charter-Roman _FontDirectorySYN /charr /Charter-Roman _FontDirectorySYN (charB) /Charter-Black _FontDirectorySYN /charb /Charter-Black _FontDirectorySYN (charBI) /Charter-Black-Italic _FontDirectorySYN /charbi /Charter-Black-Italic _FontDirectorySYN (charI) /Charter-Italic _FontDirectorySYN /chari /Charter-Italic _FontDirectorySYN /symbb /Symbol _FontDirectorySYN
naughton@wind.Eng.Sun.COM (Patrick Naughton) (10/26/90)
In article <894@sbi.com>, victoria@sbi.com (Victoria Drozdov) writes: |> I have seen a lot of postings lately on font problems |> under Sun's Openwin 2.0. We have run into similar problems, |> and a solution. |> |> The font schema under Openwin is very different. Openwin |> uses scalable fonts. This means that for any of the available |> font families, you can access fonts sizes 1-255. |> Just a nit, but there is no upper bound (memory/swap notwithstanding) on the size of a font. Under OpenWindows "xfd Courier-300" will show you the full character set of Courier at 300 points. Also not all fonts are scalable... "xdf fixed" and "xfd fixed-300" will produce the same results. -Patrick -- ______________________________________________________________________ Patrick J. Naughton ARPA: naughton@sun.com Window Systems Group UUCP: ...!sun!naughton Sun Microsystems, Inc. AT&T: (415) 336 - 1080