Page 2 of 2

How fonts work on Porteus and why it matters

Posted: 04 Nov 2020, 17:00
by Ed_P
287.3375 x 165.1

How fonts work on Porteus and why it matters

Posted: 04 Nov 2020, 17:59
by donald
ups..now on page 2
I edited my last post
...calculate the DPI and/or read the given link...have fun. :)

How fonts work on Porteus and why it matters

Posted: 04 Nov 2020, 18:25
by Ed_P
Ed_P wrote:
04 Nov 2020, 17:00
287.3375 x 165.1
donald wrote:
04 Nov 2020, 16:49
:) 11 5/16" x 6 1/2" for the visual part..in mm please. :)
Set the display to its native resolution and measure only the visual part.

EDIT
google says this would be ~ 287,3 x 165,1 mm - a very small device, could that be?
so this 290mm x 170mm seems to be correct.

DPI setting explained:
https://linuxreviews.org/HOWTO_set_DPI_in_Xorg
It's a Dell Inspiron 13 notebook with a 13" screen.
donald wrote:
04 Nov 2020, 06:23
xrandr | grep -w connected showed 1360x768 and 410mm x 230mm, this is correct.

Now some mathematics:
1360 pixels divided by 410 millimeters multiplied with 25.4 millimeters per inch = dots per inch (DPI).
768 pixels divided by 230 millimeters multiplied with 25.4 millimeters per inch = dots per inch.
= 84 DPI native.
(1920 / 290) x 25.4 = 168.1655
(1080 / 170) x 25.4 = 161.3647

Added in 20 minutes 14 seconds:

Code: Select all

guest@porteus:~$ xrdb -query | grep dpi
Xft.dpi:	96

How fonts work on Porteus and why it matters

Posted: 04 Nov 2020, 21:33
by donald
Dell Inspiron 13 --> info from Dell for this one:

Display 13,3" = 293,6mm x 165,1mm = dpi 166
..................................................................................

The output of xrdb -query | grep dpi

Xft.dpi: 96 is the font size that you have to adjust separately.

I'm not familiar with the DE you use, in xfce it is settings > appearance > fonts

Image

How fonts work on Porteus and why it matters

Posted: 10 Nov 2020, 04:08
by Rava
fulalas thanks for this post. :friends:
ncmprhnsbl wrote:
01 May 2020, 04:40
i guess if we go for 40, we should probably change to a more compatible font.. ?
we sure should update fonts to more compatible fonts if we go 40
Ed_P wrote:
01 May 2020, 04:59
:%)

Code: Select all

guest@porteus:~$ xpdyinfo package > $ xdpyinfo | grep dots 
bash: xpdyinfo: command not found
guest@porteus:~$ su
Password: 
root@porteus:/home/guest# xpdyinfo package > $ xdpyinfo | grep dots 
bash: xpdyinfo: command not found
Ed_P he wrote
ncmprhnsbl wrote:
01 May 2020, 04:40
with xpdyinfo package
(emphasis by me)
adding the word "package" like so made it obvious to me that xpdyinfo is not part of default port but needs to be added as additional package. or am i the only one interpreting ncmprhnsbl syntax like so? :shock:

How fonts work on Porteus and why it matters

Posted: 16 Mar 2021, 10:01
by nanZor
How about more consolefonts larger than Terminus-16 size in the release iso?
/usr/share/kbd/consolefonts

For those occasions when this gray-beard boots into text-only mode from the RC2 on my uefi-only machines, text is teeny by default.

Normally I just use
setfont /path/to/consolefont/mybigTerminusBold20.psf.gz :)

when I'm in that mood to go non-gui.

Not a huge deal, since I can always download consolefonts from repos, or just borrow them from other distro's consolefonts and plug them in with setfont

Maybe replace the "Dr-Dos" fonts with a collection of terminus fonts that might be more useful these days? Not a showstopper, just a thought.