× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Erik,

newer xterm (form xfree 4.0.3 and above) has freetype support which let
you use trutype fonts with xft which renders nice antialiased fonts. To
use this features you need to have freetype2 lib and you need to compile
X with freetype support (btw, every distro do this now), after that you
have to invoke xterm using -fa [trutype font name] and not -fn [x font
name or alias] e.g. : xterm -fa 'Andale Mono'. I don't know how to
specify this in .Xresources, since this feature is not very well
documented atm.
The DECCOLM escape seq to swich between 80 and 132 mode works in
freetype mode, since it resize the term windows, but it doesn't change
the font. Also in ft mode, the vt fonts menu doesn't work (well., it
works, but it does nothing), please see my other posts in this thread.

Greatings
Lapo


Il sab, 2002-10-26 alle 01:06, Erik Zetterberg ha scritto:
>
> Well, Hmmm... I'm afraid this is one of those things that has to be done in
> the XTerm resource file. Actually the font selections in the xterm resource
> file just point to font aliases.
>
> See for example
> http://www.uwsg.iu.edu/edcert/session3/x11/font.html for general info on
> administering fonts and
> http://www.uwsg.iu.edu/edcert/session3/x11/xterm.html for a brief
> description of fonts in xterm.
>
> The font link above says the following:
> ---
> Font Aliases
> Because the font names are so long, an alias mechanism for shortening font
> names is used. The file  fonts.alias in each font subdirectory contains the
> mapping between the font alias and the long font name. For example, a common
> fixed width font used in xterms is 10x20. 10x20 is the alias name. The file
> /usr/lib/X11/fonts/misc/fonts.alias shows the mapping:
> 10x20   "-misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1"
> ---
> 10x20 is of course the 'Huge' font in a normal xterm setup.
> Set up your own font directory, define your aliases in a fonts.alias file,
> substitute your aliases in the XTerm resource file (or just keep them but
> roll your own versions in the fonts.alias and then make X find yours first
> by the next point), prepend the directory to your fontpath in the xt5250
> script (xset +fp 'myfontpath') and you're ready to roll.
>
> http://rtfm.etla.org/xterm/ctlseq.html gives a comprehensive set of escape
> codes. Simple font switch only restricted to the set of fonts in the xterm
> resource font set alas, but window resizing, mouse events and advanced color
> set switching (for fonts look for 'OSC' in above and then 50)
>
> /erikz
>
>
> >Il gio, 2002-10-24 alle 21:09, Scott Klement ha scritto:
> > >
> > > Hmmm... This would be a really nice feature to add.
> > >
> > > Currently, we send an ascape sequence to the XTerm to change the font.
> >If
> > > you know what the escape sequence needs to be to use the freetype fonts
> > > instead of the original fonts, I could add that feature to the
> >emulator...
> > >
> > > I've searched the internet looking for it, but so far haven't found
> > > anything. :(
> > >
> >
> >I had the same results :-/
> >
> > >
> > >
> > > On 24 Oct 2002, Lapo Calamandrei wrote:
> > >
> > > > Is there any way to use xt5250 with xterm antialiased fonts (e.g.
> >xterm
> > > > -fa 'Andale Mono') without loosing the FONT_80 and FONT_132 feat.?
> > > > Editing the xt5250 script adding the -fa something to the xterm lauch
> > > > line you get aa font, but the font change when in 132/27 will not work
> > > > anymore.
> > > >
> > > > Greatings
> > > > Lapo
> > > >
> > >
> > > _______________________________________________
> > > This is the Linux 5250 Development Project (LINUX5250) mailing list
> > > To post a message email: LINUX5250@midrange.com
> > > To subscribe, unsubscribe, or change list options,
> > > visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
> > > or email: LINUX5250-request@midrange.com
> > > Before posting, please take a moment to review the archives
> > > at http://archive.midrange.com/linux5250.
> > >
> > >
> >
> >
> >_______________________________________________
> >This is the Linux 5250 Development Project (LINUX5250) mailing list
> >To post a message email: LINUX5250@midrange.com
> >To subscribe, unsubscribe, or change list options,
> >visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
> >or email: LINUX5250-request@midrange.com
> >Before posting, please take a moment to review the archives
> >at http://archive.midrange.com/linux5250.
>
>
> _________________________________________________________________
> Senaste nytt från motormarknaden http://motor.msn.se/
>
> _______________________________________________
> This is the Linux 5250 Development Project (LINUX5250) mailing list
> To post a message email: LINUX5250@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250
> or email: LINUX5250-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/linux5250.
>
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.