On 6/10/22 6:51 AM, stan via users wrote:
On Thu, 9 Jun 2022 21:16:41 -0500 (CDT)
Michael Hennebry <henne...@web.cs.ndsu.nodak.edu> wrote:
The font gvim uses when printing is annoyingly faint.
The font gedit uses works for me.
How do I find out what font gedit is
using and tell gvim to use that font?
I'm running F35.
In gedit, one help page for font is at
/usr/share/help/en_GB/gedit/gedit-change-default-font.page
In there, it give instruction about how to use gedit itself to select a
new font.
<title>Change the default font</title>
<p><app>gedit</app> will use the system fixed-width font by default,
but you can change the default <app>gedit</app> font to suit your
preferences.</p>
<steps>
<title>To change the default font in <app>gedit</app>:</title>
<item><p>Press the menu button in the top-right corner of the
window and select <guiseq><gui
style="menuitem">Preferences</gui><gui>Font &
Colours</gui></guiseq>.</p></item>
<item><p>Uncheck the box next to the phrase, "Use the system
fixed width
font."</p></item>
<item><p>Click on the current font name. <app>gedit</app> will
open a font-chooser window, allowing you to see available fonts
and choose the one that you prefer.</p></item>
<item><p>After you have chosen a new font, use the
<gui>slider</gui> under the list of fonts to set the default font
size.</p></item>
<item><p>Click <gui>Select</gui>, and then close the dialog.</p>
It will be prettier if you view it in a browser.
In gvim, the font is selected in .gvimrc, the configuration file.
Something like
set gfn=Terminus\ Bold\ 14
So, find the font name in gedit, and add it to the .gvimrc file.
You can find the files contained in a package, say gedit, by
rpm -q --filesbypkg gedit
I've been wanting to change the display font in gvim for some time,
though it was not a priority. Though this thread is about the print
font rather than the display font, it did help me to finally get the
display font changed. Thank-you!
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure