Re: [DNG] Displaying adequately sized UTF8 characters in a terminal
<--snip--> If you wish to play around (view) what the fonts you have installed actually look like, 'apt-get install x11-utils' will provide you with 'xfontsel' which is mouse driven. It also indicates fonts missing from the system that it knows about as 'greyed out' in the menu selection, so you can at least track any missing font down by name. publickey - g4sra@protonmail.com - 0x42E94623.asc Description: application/pgp-keys signature.asc Description: OpenPGP digital signature ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Displaying adequately sized UTF8 characters in a terminal. SOLVED
On 22.08.21 05:33, . wrote: > This link had some good info: > > https://askubuntu.com/questions/161652/how-to-change-the-default-font-size-of-xterm > > > I set up a .Xresources file and used "xrdb -merge ~/.Xresources" to > activate it. Here's my .Xresources file: > > > xterm*faceName: DejaVu Sans Mono > > xterm*faceSize: 16 > > As far as I know, the DejaVu fonts are utf-8 compliant. (But I may be > wrong.) Holey Moley! That displays not only apostrophes, but even an image of an open book, and a square-face robot head. And that fontsize is certainly big enough. :-) Many thanks. That's a lot easier than futzing with a mystery mix of undocumented font commands, and superbly successful. Erik ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Displaying adequately sized UTF8 characters in a terminal
On 22.08.21 10:45, al3xu5 wrote: > Sun, 22 Aug 2021 15:48:15 +0930 - dva...@internode.on.net: > > I have the `fonts-dejavu` package installed (not ttf-dejavu) with a > very large Unicode character set; then running: Looks like I have that one: $ dpkg -l fonts-dejavu Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==--- ii fonts-dejavu 2.37-1 all metapackage to pull in fonts-dejavu-core and fonts-dej > ~~~ > xterm -fn "Dejavu Sans" -fs 12 > ~~~ Hmm, here that just gives "tiny" fontsize, ~ 1.5mm character height. And "-fs 24" does exactly the same, as does -fs 120. So not a lot of joy there. > or > > ~~~ > xterm -fn "Dejavu Sans Mono" -fs 12 > ~~~ As above, i.e no change. > it seems there are not troubles displaying any character (i.e. `~-_àèù||¦ > etc) Yes, even xterm (without -u8) displays the apostrophes and hyphens _if_ I leave off the "-fn 10x20". Now, if I can just find a way to actually set the fontsize? Many thanks for the datapoints. It's a pity it's not working here. Erik ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
Re: [DNG] Displaying adequately sized UTF8 characters in a terminal
Sun, 22 Aug 2021 15:48:15 +0930 - dva...@internode.on.net: > After having trouble displaying apostrophe and hyphen in recent > posts on several lists, I've found that it is not "xterm -u8" or > uxterm which are intrinsically deficient, but rather it is my "-fn > 10x20" option which is selecting a font size which presumably > lacks an adequate utf8 character set. I.e., without the fontsize > option, the problem > characters display OK. > > The reason for that option is that even selecting "Huge" at > Ctrl-Right_Click gives an unreadably small font size. > Does anyone know of a substantial fontsize with a more complete utf8 > character set, or a howto on exploring installed X11 fonts and > their size and unicode characteristics? > Here, fc-list lists many fonts, without any useful size clues, and > "fc-match utf8" shows only one font: > DejaVuSansttf: "DejaVu Sans" "Book" > And "xlsfonts | grep utf8" returns nothing. > > And "xset q" shows: Font Path: > > /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins > > Any thoughts on whether: console-setup - console font and keymap > setup program might help? > > Of the squillion font packages available, would there be mileage in > installing perhaps the first of: > $ apt-cache search font | grep font | grep unicode | more > fonts-cmu - sets the computer modern unicode fonts > fonts-georgewilliams - Free unicode TrueType fonts by George Williams > fonts-junicode - Unicode font for medievalists (Latin, IPA and Runic) > fonts-lg-aboriginal - unicode fonts for North-American Aboriginal > languages > fonts-oflb-euterpe - unicode musical font > fonts-senamirmir-washra - collection of unicode fonts for the Ethiopic > script > xfonts-efont-unicode - /efont/ Unicode fonts for X which cover various > scripts > xfonts-efont-unicode-ib - /efont/ Unicode fonts for X (italic and bold > But what then? Any firm ground in this swamp would help a lot while > I work on building taller stilts. Google hits thus far furnish > little or no additional stuff to check or implement. > > Erik > Hi Erik I have the `fonts-dejavu` package installed (not ttf-dejavu) with a very large Unicode character set; then running: ~~~ xterm -fn "Dejavu Sans" -fs 12 ~~~ or ~~~ xterm -fn "Dejavu Sans Mono" -fs 12 ~~~ it seems there are not troubles displaying any character (i.e. `~-_àèù|\|¦ etc) Regards al3xu5 -- Say NO to copyright, patents, trademarks and industrial design restrictions! Public GPG/PGP key: 8FC2 3121 2803 86E9 F7D8 B624 DA50 835B 2624 A36B pgpSVohOdxHyj.pgp Description: Firma digitale OpenPGP ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
[DNG] Displaying adequately sized UTF8 characters in a terminal
After having trouble displaying apostrophe and hyphen in recent posts on several lists, I've found that it is not "xterm -u8" or uxterm which are intrinsically deficient, but rather it is my "-fn 10x20" option which is selecting a font size which presumably lacks an adequate utf8 character set. I.e., without the fontsize option, the problem characters display OK. The reason for that option is that even selecting "Huge" at Ctrl-Right_Click gives an unreadably small font size. Does anyone know of a substantial fontsize with a more complete utf8 character set, or a howto on exploring installed X11 fonts and their size and unicode characteristics? Here, fc-list lists many fonts, without any useful size clues, and "fc-match utf8" shows only one font: DejaVuSansttf: "DejaVu Sans" "Book" And "xlsfonts | grep utf8" returns nothing. And "xset q" shows: Font Path: /usr/share/fonts/X11/misc,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,built-ins Any thoughts on whether: console-setup - console font and keymap setup program might help? Of the squillion font packages available, would there be mileage in installing perhaps the first of: $ apt-cache search font | grep font | grep unicode | more fonts-cmu - sets the computer modern unicode fonts fonts-georgewilliams - Free unicode TrueType fonts by George Williams fonts-junicode - Unicode font for medievalists (Latin, IPA and Runic) fonts-lg-aboriginal - unicode fonts for North-American Aboriginal languages fonts-oflb-euterpe - unicode musical font fonts-senamirmir-washra - collection of unicode fonts for the Ethiopic script xfonts-efont-unicode - /efont/ Unicode fonts for X which cover various scripts xfonts-efont-unicode-ib - /efont/ Unicode fonts for X (italic and bold But what then? Any firm ground in this swamp would help a lot while I work on building taller stilts. Google hits thus far furnish little or no additional stuff to check or implement. Erik ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng