<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
The printer font size has a new problem which has just appeared
within the last month.<br>
<br>
Setting the size results in a size slightly smaller.<br>
Setting bold to either true or false reduces the size by a small
amount.<br>
<br>
This test code in a the printer draw event results in the console
output shown below it.<br>
<br>
Public Sub Printer1_Draw()<br>
<br>
Print Paint.Font.Size<br>
<br>
Paint.Font.Size = Paint.Font.Size<br>
Print Paint.Font.Size<br>
<br>
Paint.Font.Size = 14<br>
Print Paint.Font.Size<br>
<br>
Paint.Font.Bold = True<br>
Print Paint.Font.Size<br>
<br>
Paint.Font.Bold = False<br>
Print Paint.Font.Size<br>
End<br>
<br>
Console display:<br>
<br>
<style type="text/css">p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">12</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">11.667058985647</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">13.6115688165881</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">13.2339146891938</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">12.866738607487</p>
<style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
<br>
<br>
[System]<br>
Gambas=3.14<br>
OperatingSystem=Linux<br>
Kernel=4.4.0-148-generic<br>
Architecture=x86_64<br>
Distribution=Ubuntu 14.04.6 LTS<br>
Desktop=XFCE<br>
Theme=Windows<br>
Language=en_US.UTF-8<br>
Memory=7893M<br>
<br>
[Libraries]<br>
Cairo=libcairo.so.2.11301.0<br>
Curl=libcurl.so.4.3.0<br>
DBus=libdbus-1.so.3.7.6<br>
GStreamer=libgstreamer-0.10.so.0.30.0<br>
GStreamer=libgstreamer-1.0.so.0.204.0<br>
GTK+2=libgtk-x11-2.0.so.0.2400.23<br>
GTK+3=libgtk-3.so.0.1000.8<br>
OpenGL=libGL.so.1.2.0<br>
Poppler=libpoppler.so.44.0.0<br>
QT4=libQtCore.so.4.8.6<br>
SDL=libSDL-1.2.so.0.11.4<br>
SQLite=libsqlite3.so.0.8.6<br>
<br>
[Environment]<br>
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dWQTeZkGf1<br>
DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path<br>
DESKTOP_SESSION=xubuntu<br>
DISPLAY=:0.0<br>
GB_GUI=gb.qt4<br>
GDMSESSION=xubuntu<br>
GDM_LANG=en_US<br>
GLADE_CATALOG_PATH=:<br>
GLADE_MODULE_PATH=:<br>
GLADE_PIXMAP_PATH=:<br>
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-1456W7<br>
GNOME_KEYRING_PID=<br>
GPG_AGENT_INFO=/run/user/1000/keyring-1456W7/gpg:0:1<br>
HOME=<home><br>
IM_CONFIG_PHASE=1<br>
INSTANCE=<br>
JOB=dbus<br>
LANG=en_US.UTF-8<br>
LANGUAGE=en_US.UTF-8<br>
LOGNAME=<user><br>
MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path<br>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games<br>
PWD=<home><br>
SELINUX_INIT=YES<br>
SESSION=xubuntu<br>
SESSIONTYPE=<br>
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1471,unix/<hostname>:/tmp/.ICE-unix/1471<br>
SHELL=/bin/bash<br>
SHLVL=0<br>
SSH_AUTH_SOCK=/run/user/1000/keyring-1456W7/ssh<br>
TEXTDOMAIN=im-config<br>
TEXTDOMAINDIR=/usr/share/locale/<br>
TZ=:/etc/localtime<br>
UPSTART_EVENTS=started xsession<br>
UPSTART_INSTANCE=<br>
UPSTART_JOB=startxfce4<br>
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1200<br>
USER=<user><br>
XAUTHORITY=<home>/.Xauthority<br>
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg<br>
XDG_CURRENT_DESKTOP=XFCE<br>
XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/usr/share<br>
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<user><br>
XDG_MENU_PREFIX=xfce-<br>
XDG_RUNTIME_DIR=/run/user/1000<br>
XDG_SEAT=seat0<br>
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0<br>
XDG_SESSION_ID=c1<br>
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0<br>
XDG_VTNR=7<br>
<br>
</body>
</html>