[Gambas-user] Smaller report fonts when upgraded from 3.11 to 3.14.2

Fabien Bodard gambas.fr at gmail.com
Fri Dec 20 18:17:58 CET 2019


If you have used default font then report2 try to use the system font.

 ["DejaVu Serif", "Liberation Serif", "Bitstream Vera Serif", "Serif", "Arial"]

and then force the size to 12.

So if this base font is different then it can change a bit the report
look. Just try to add all these fonts, you will recover you original
report.

A way to not have this problem is to set the report font in the report
object. This will fix all your reports on all machine, but you must to
be sure that the font exist on this machine.


this is the order of how report get the font :

- The font is defined in my property ... ok take it... If not...
- Look to my parent Font ... It have ? OK ... If not
-  loop ... oups I've no parent with font  so try on a defined list.




Le mer. 18 déc. 2019 à 16:19, Constantin Teodorescu
<brailateo at gmail.com> a écrit :
>
> Hello all,
>
> I just upgraded Gambas3 on a Linux Mint computer from 3.11 to 3.14.2 using:
>
> $ sudo add-apt-repository ppa:gambas-team/gambas3
> $ sudo apt-get update
> $ sudo apt-get install gambas3
>
> Everything was OK but my reports (created with report2) are printed (even in PDF) with smaller fonts.
> Is there a global system wide configuration to set the default font to be used?
>
> Thanks,
> Teo
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----



-- 
Fabien Bodard

Gambas Basic : http://gambas.sf.net
GambasForge : http://www.gambasforge.org
NEW discourse Gambas Forum : https://gambas.discourse.group/


More information about the User mailing list