Log Initiated for user Ian R Busch (irbusch@M7-321-6.MIT.EDU [0]). [Sun 25-Mar-90 4:10pm] Question: Is there any way to get greek font letters on idraw? ___________________________________________________________ hi Ian, I'm pretty sure there is a way to do this cause i think you're allowed to specify fonts in idraw. I'm looking through the manual page on idraw myself right now. You can look at it too: man -M /mit/sipb/man idraw i'm going to ask around about this. Okay to set your own fonts in idraw you have to make a file called .Xresources. Do you have a file like that already? Anyways, lines similar to following specify fonts for idraw: idraw.font4:*sym*-8-* Symbol 8 idraw.font5:*sym*-10-* Symbol 10 idraw.font6:*sym*-12-* Symbol 12 idraw.font7:*sym*-14-* Symbol 14 idraw.font8:*sym*-18-* Symbol 18 idraw.font9:*sym*-24-* Symbol 24 idraw.font12:*bit*bold*-r-*-15-* Times-Bold 15 idraw.font13:*bit*bold*-r-*-19-* Times-Bold 19 Now -- let's see where we can find the greek font Just a note: symbol is a greek font, but I want to make sure that there isn't another better font. Am i making sense about the .Xresources file? I'm still figuring this one out -- it seems there is a font called: grk For now, I guess I just enter those font names into my .Xresources file, eh? When I run it, just type: idraw -xrm .Xresources & ?? ------------------- Well you can do this (i'm not sure what -xrm will do): xrdb -load .Xresources (that loads up the resources like the ones you just added) then: idraw & No idraw.font4 will replace ONLY 4. Do xrdb whenever you want -- it doesn't make a difference from what window. All that it does is set up your defaults for X so that whenever you open up another window (like idraw) it will follow those defaults. you don't have to do it everytime for idraw. Only when you alter the file (.Xresources) will you want to load them again. gotta go . . greek fonts in idraw When I start new windows (xterm/emacs) will it load those .Xresources fonts if I did xrdb beforehand? OK the idraw worked great! By the way, what directory are those fonts in again so I can check them out? I seem to have forgotten. P.S. the xterms turned out default (the way I wanted it) so no problem..... Thanks for the help! ....Where are those font names again?....... Thanks... The X fonts and PS fonts aren't necessarily correlated... you can get a listing of X fonts by typing xlsfonts at the athena% prompt. I don't have an answer for your other question right away, and I have to step out for a while, so I'll have to forward your questions for now - sorry... Well, the fonts in xlsfonts and the ones that are printable are two different things - but I'm fairly sure that if you have something of the form blah-blah-blah-blah--number-number-other-stuff that we'll have the corresponding PostScript font. I think grep -v idraw ~/.Xresources|xrdb -load should do the trick. This will remove all the lines that have `idraw' in them from your .Xresources file, and then re-load that into the resource database, which should remove your idraw resources - see how that works? I can explain it in more detail if you like. Please enter your message. End with a ^D or '.' on a line by itself. Yeah, I think I understand... The only thing I'm concerned about is will it load a series of empty font names into idraw, and I'll be left with no fonts? Presumably, since it'll grep out all of the numbered ones, I guess it won't, but comments please... It'll grep out all the idraw resources, loading the database with *no* idraw resources. Then it will use the standard idraw resources - so you don't have anything to worry about (if what you thought were the case, then it would kill *all* the idraw resources - which would be really bad).