Loggytronic Forum

VOMP => VOMP for Raspberry Pi => Topic started by: hondansx on November 07, 2012, 19:04:11

Title: Font Size
Post by: hondansx on November 07, 2012, 19:04:11
Hi,

how can I increase the font size, because it is very small on 1920x1080.
Title: Re: Font Size
Post by: glotzi on November 07, 2012, 19:15:38
Yes, plz. The font size is too small.
Title: Re: Font Size
Post by: davep on November 07, 2012, 19:49:47
I had the same problem a while ago, the existing font is too small to read on a TV 3m away.

I'm away from my Pi at the moment, but I recall replacing the font sourcesans.ttf with a larger version. I also found the font difficult to read at a distance so I used the GNU Free Sans Bold font instead. I had some difficulty as the most recent version of the font on the GNU website didn't display correctly, so I've attached the one which worked.

I didn't change the Makefile, just overwrote the sourcesans.ttf file with the new one.

Having changed the font size, I found the line spacing on the OSD needed to be changed. In file osdopenvg.cc line 498 I changed the number 64 to (I think) 84.
Title: Re: Font Size
Post by: MartenR on November 08, 2012, 06:44:27
In osdopenvg, you can just change the
float font_size=16.f;
but it is very likely the arrangement of the elements of UI is then not optimal.
Just a note "GNU Free Sans Bold " is not compatible with the GPL v2 of vomp, i .e. it would force vomp to also bump to version 3.
This is the main reason for the chosen font.

Marten

P.S: On my tv the font was big enough, it is also the same size then the old font, but not bold.
Title: Re: Font Size
Post by: davep on November 08, 2012, 09:35:24
Apologies I missed out the most important step, actually changing the font size  :'(  Also I didn't spot the incompatible license.
Title: Re: Font Size
Post by: hondansx on November 19, 2012, 17:00:31
Quote from: MartenR on November 08, 2012, 06:44:27
In osdopenvg, you can just change the
float font_size=16.f;
but it is very likely the arrangement of the elements of UI is then not optimal.

Ok that helped me a lot with higher font size, but now I have to adjust the window for the epg title entry in live tv mode. Where can I change this?