discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminal.app test color


From: Luis Garcia Alanis
Subject: Re: Terminal.app test color
Date: Mon, 30 Mar 2015 02:02:43 -0700

There is a setting on the System Preferences.app Defaults. but it seems to be broken since it seems to do nothing.

I looked into the Terminal.app code myself since I also use it and hate how it looks (the fonts). 

The API needed to disable anti alias seems to be missing for some reason.

if you are building gnustep yourself, there is a temporary hack you can do if you are using the cairo backend.

go into core/back/Source/cairo/CairoGState.m

Look for the method named - (void) DPSshow: (const char *)s

you need to add the following lines:
      cairo_font_options_t *options = cairo_font_options_create();
      cairo_get_font_options(_ct, options);
      cairo_font_options_set_antialias (options, CAIRO_ANTIALIAS_NONE);
      cairo_set_font_options (_ct, options); 

Do so right after 
       cairo_set_source_rgba(_ct, c.field[0], c.field[1], c.field[2], c.field[AINDEX]);

This is a HACK that makes that API always draw without antialias.

then build the back folder and install it.

I will start another thread on the missing API issue.

Thanks
Luis


On Fri, Mar 27, 2015 at 8:41 AM, Michele Bert <address@hidden> wrote:
Hello.
Terminal emulator is on of the main tool I use, and I really like Termina.app (0.9.8), except for the text color, which is a light shade of grey, instead of white, thus it isn't so clear, specialy with very small fonts.

Is such issue related to the program itself, or is it due to any "renderig" module of gnustep?
If it's usefull I can provide a screenshot of the window to let you know what I mean.

Thanks in advance.
--
Mick

_______________________________________________
Discuss-gnustep mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnustep



reply via email to

[Prev in Thread] Current Thread [Next in Thread]