Hi Sreeram, GNOME (and gnome-terminal) uses FreeType / Fontconfig to find its fonts, and steps b) and c) really apply to X11 font configuration, not GNOME.
You need to make sure that fontconfig is aware of your added font. First, try to run 'fc-cache' and then check the font selection in gnome-terminal's Profiles. You can verify the font is added to Fontconfig's list by running: fc-match "name of your font" alternatively with '-v' option to get more info. Ex: # fc-match "Monospace" CourierRegular.ttf: "Courier New" "Regular" Regards, hnhn Sreeram BS wrote: > Hi, > I am using Solaris 10 for x86 10/08. I use the JDS(Java Desktop > System). I would like to use a particular .ttf font for my > gnome-terminal, but I am not able to do it. I have the font file (.ttf) > with me. But I dont know as to how to achieve this task. I made the > following attempts: > > a) I created a .fonts directory in my $HOME directory and put the font > file. I was told that JDS will pick up the font automatically and we > have to select that font from the gnome terminal. When I open the fonts > menu under Edit->Profiles in gnome terminal, I am unable to see my font > in the list. > b) I tried to use few commands like "xset fp+ > <directory-where-font-present>" and "xset fp rehash", but in vain again. > c) I tried to use ttmkfdir, mkfontdir tools, but could not get through. > > I request you to kindly give me a step-by-step procedure to add my > .ttf font to the system and use it in the gnome-terminal. I have been > struggling to get this and I would be very very thankful to you for your > suggestions. > > Regards, > Sreeram > > > ------------------------------------------------------------------------ > > _______________________________________________ > desktop-discuss mailing list > desktop-discuss at opensolaris.org -- Jan Hnatek jan.hnatek at sun.com
