Hi

I did some testing in both vmware and lubuntu running native on a macbook.

On both setups the font is difference in gnustep vs gtk.

I thought the default backend for when you install with apt-get was cairo
but it seems to be xlib or art (don't know because the name is "back").

For both setups, when using backend "back" and "art" text is rendered
wrongly, that is letter overlap or stick together. With cairo it's better,
"re" does not stick together but "ee" does. This does not happen in gtk
apps where there is clearly a space between the letters "ee".

Overall in both setups, gnustep apps' fonts look more grainy than gtk's
which are very smooth.

xdpyinfo reports 96 dpi.

I have a vague memory of changing the dpi setting for gnustep apps but I
can't find any such setting..

I did change the dpi for the system. Macbook Air 11.6" has 135 ppi so I
change to that and the result was
Bigger fonts for all gtk stuff (way too big!)
Same size as before for gnustep apps.

Seems like gnustep does not respect dpi settings of the system, for both
cairo and xlib backend. (defaults to 75 dpi?)
Doing "xrandr --dpi 75x75" and gnustep and gtk render the fonts the same
size. However, the width of the text is different. On gnustep apps the
letters are more tightly packed (with cairo and xlib).

By the way, with xlib backend I get error message while running Ink

"Calling [GSXftFontInfo -widthOfGlyphs:length:] with incorrect
signature...." Can this be related?



--
Johannes Lundberg
BRILLIANTSERVICE CO., LTD.

On Wed, Jan 7, 2015 at 8:48 AM, Riccardo Mottola <[email protected]> wrote:

> Hi,
>
> On 2015-01-06 18:08:53 +0100 Riccardo Mottola <[email protected]>
> wrote:
>
>
>> I tried to make a dump with xwd but I get a an X error if Ink is
>> open! I
>> can't dump with Ink app open, but it works when I close it and just
>> windowmaker is running, isn't that really strange? I'll do some
>> further
>> tests.
>>
>
> Just for the sake, this is the error I get when running xwd. I get this
> when a GS app is open. As soon as I close it and only windowmaker and xterm
> are running, the dump completes fine. I'll ask the NetBSD guys too, but if
> Fred or someone has a clue and it could be something
>
> narsil$ xwd > wd
> X Error of failed request:  BadValue (integer parameter out of range for
> operation)
>   Major opcode of failed request:  91 (X_QueryColors)
>   Value in failed request:  0xbb814fc0
>   Serial number of failed request:  267
>   Current serial number in output stream:  267
>
> below my xdpy info.
>
>  Riccardo
>
> name of display:    :0
> version number:    11.0
> vendor string:    The Xorg Foundation
> vendor release number:    11003000
> maximum request size:  16777212 bytes
> motion buffer size:  256
> bitmap unit, bit order, padding:    32, LSBFirst, 32
> image byte order:    LSBFirst
> number of supported pixmap formats:    7
> supported pixmap formats:
>     depth 1, bits_per_pixel 1, scanline_pad 32
>     depth 4, bits_per_pixel 8, scanline_pad 32
>     depth 8, bits_per_pixel 8, scanline_pad 32
>     depth 15, bits_per_pixel 16, scanline_pad 32
>     depth 16, bits_per_pixel 16, scanline_pad 32
>     depth 24, bits_per_pixel 32, scanline_pad 32
>     depth 32, bits_per_pixel 32, scanline_pad 32
> keycode range:    minimum 8, maximum 255
> focus:  window 0x60000d, revert to Parent
> number of extensions:    28
>     BIG-REQUESTS
>     Composite
>     DAMAGE
>     DOUBLE-BUFFER
>     DPMS
>     DRI2
>     GLX
>     Generic Event Extension
>     MIT-SCREEN-SAVER
>     MIT-SHM
>     RANDR
>     RECORD
>     RENDER
>     SECURITY
>     SGI-GLX
>     SHAPE
>     SYNC
>     X-Resource
>     XC-MISC
>     XFIXES
>     XFree86-Bigfont
>     XFree86-DGA
>     XFree86-VidModeExtension
>     XINERAMA
>     XInputExtension
>     XKEYBOARD
>     XTEST
>     XVideo
> default screen number:    0
> number of screens:    1
>
> screen #0:
>   dimensions:    800x600 pixels (212x159 millimeters)
>   resolution:    96x96 dots per inch
>   depths (7):    16, 1, 4, 8, 15, 24, 32
>   root window id:    0xe3
>   depth of root window:    16 planes
>   number of colormaps:    minimum 1, maximum 1
>   default colormap:    0x20
>   default number of colormap cells:    64
>   preallocated pixels:    black 0, white 65535
>   options:    backing-store NO, save-unders NO
>   largest cursor:    64x64
>   current input event mask:    0x58007f
>     KeyPressMask             KeyReleaseMask           ButtonPressMask
>     ButtonReleaseMask        EnterWindowMask          LeaveWindowMask
>     PointerMotionMask        SubstructureNotifyMask
> SubstructureRedirectMask
>     PropertyChangeMask
>   number of visuals:    33
>   default visual id:  0x21
>   visual:
>     visual id:    0x21
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0x22
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xc4
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xc5
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xc6
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xc7
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xc8
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xc9
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xca
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xcb
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xcc
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xcd
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xce
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xcf
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd0
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd1
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd2
>     class:    TrueColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd3
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd4
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd5
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd6
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd7
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd8
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xd9
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xda
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xdb
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xdc
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xdd
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xde
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xdf
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xe0
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0xe1
>     class:    DirectColor
>     depth:    16 planes
>     available colormap entries:    64 per subfield
>     red, green, blue masks:    0xf800, 0x7e0, 0x1f
>     significant bits in color specification:    6 bits
>   visual:
>     visual id:    0x43
>     class:    TrueColor
>     depth:    32 planes
>     available colormap entries:    256 per subfield
>     red, green, blue masks:    0xff0000, 0xff00, 0xff
>     significant bits in color specification:    8 bits
>
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to