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?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


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

Reply via email to