Hi,

Reinhard Tartler wrote:
tags 288734 upstream
stop

CC'ing xine-devel, because I'm not sure how to proceed from here.

On Fri, Sep 01, 2006 at 09:45:33PM +0200, Markus Schaber wrote:

For me, the font is to large. I remember that, a long time ago, it
worked, althoug then I had another display with a different resolution.

I suspect that xine calculates the layout using absolute pixels, but
selects the font using points instead of pixels, so it fails on
different DPI values.


Thats right. The font is choosen in xine-ui/src/xitk/setup.c:

---
static char                     *fontname     = 
"-*-helvetica-medium-r-*-*-10-*-*-*-*-*-*-*";
static char                     *boldfontname = 
"-*-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*";
static char                     *tabsfontname = 
"-*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*";
---

What should xitk do instead in your opinion? How do you calculate the
correct fontsize and how to query the current resolution from within
xitk?

Right, I suppose you're using Xft. There were some bugs. I've committed a patch some time ago addressing exactly this problem to xine-ui/src/xitk/xine-toolkit/font.c r1.43. Are you up to date with CVS or do you use a precompiled binary package?

Cheers,
Hans-Dieter


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to