How fonts work on Porteus and why it matters
- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
How fonts work on Porteus and why it matters
287.3375 x 165.1
-
- Full of knowledge
- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
How fonts work on Porteus and why it matters
ups..now on page 2
I edited my last post
...calculate the DPI and/or read the given link...have fun.
I edited my last post
...calculate the DPI and/or read the given link...have fun.

- Ed_P
- Contributor
- Posts: 8912
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
How fonts work on Porteus and why it matters
It's a Dell Inspiron 13 notebook with a 13" screen.donald wrote: ↑04 Nov 2020, 16:4911 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
(1920 / 290) x 25.4 = 168.1655donald wrote: ↑04 Nov 2020, 06:23xrandr | 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.
(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
-
- Full of knowledge
- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
How fonts work on Porteus and why it matters
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

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

- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
How fonts work on Porteus and why it matters
fulalas thanks for this post.
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?

we sure should update fonts to more compatible fonts if we go 40ncmprhnsbl wrote: ↑01 May 2020, 04:40i guess if we go for 40, we should probably change to a more compatible font.. ?
Ed_P he wroteEd_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
(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?

Cheers!
Yours Rava
Yours Rava
How fonts work on Porteus and why it matters
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.
/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.
That's a UNIX book - cool. -Garth