9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] How to create a different size of Courier font in plan9
@ 2022-03-11 20:21 Saif Resun
  2022-03-12  3:43 ` Lucio De Re
  0 siblings, 1 reply; 2+ messages in thread
From: Saif Resun @ 2022-03-11 20:21 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

Hello there!

I want to change the font of plan9 from pelm to courier. I have changed the font variable of the “$home/lib/profile” file to “/lib/font/bit/courier/latin1.7.font” but the texts looks very small on the screen. Is there any way to make a courier font of a bigger size like 16px or 15px.

Thank you

_resun


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7e6db82e2871ac59-Mef9e61cf2318a74b82f9c7be
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 2174 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] How to create a different size of Courier font in plan9
  2022-03-11 20:21 [9fans] How to create a different size of Courier font in plan9 Saif Resun
@ 2022-03-12  3:43 ` Lucio De Re
  0 siblings, 0 replies; 2+ messages in thread
From: Lucio De Re @ 2022-03-12  3:43 UTC (permalink / raw)
  To: 9fans

I compiled a version of fontsrv somebody ported to Plan 9, which I run
on my workstation at startup. I imported a number of freefonts and
make a habit of setting the $font variable to /mnt/font/whatever/...,
specially for acme.

It's a step I have yet to regret, despite the inaccuracy with which
plagues both fontsrv and ttf2subf (they truncate descenders). Not
orthodox, not adequate for preparing documents with frequent font
changes in acme, but preferable to creating an endless range of fonts
in different sizes.

Details on request, but nothing particularly complicated. It helps if
one is familiar with P9P.

Lucio.

PS: I found the release of fontsrv on "contrib", yk/lab/fontsrv/. It
contains its own version of freetype and, as far as I recall, it
compiles out of the box. It does require a configuration list of font
archives in /sys/lib/fontsrv.map. Please keep me posted with any
improvement. And, YK, thank you for that gem!


On 3/11/22, Saif Resun <saif.resun@outlook.com> wrote:
> Hello there!
> 
> I want to change the font of plan9 from pelm to courier. I have changed the
> font variable of the “$home/lib/profile” file to
> “/lib/font/bit/courier/latin1.7.font” but the texts looks very small on the
> screen. Is there any way to make a courier font of a bigger size like 16px
> or 15px.
> 
> Thank you
> 
> _resun
> 


-- 
Lucio De Re
2 Piet Retief St
Kestell (Eastern Free State)
9860 South Africa

Ph.: +27 58 653 1433
Cell: +27 83 251 5824

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T7e6db82e2871ac59-M3434d37a7c15414c450b8fa4
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-03-12  3:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-11 20:21 [9fans] How to create a different size of Courier font in plan9 Saif Resun
2022-03-12  3:43 ` Lucio De Re

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).