Re: gvim print font

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/10/22 6:51 AM, stan via users wrote:
On Thu, 9 Jun 2022 21:16:41 -0500 (CDT)
Michael Hennebry <hennebry@xxxxxxxxxxxxxxxxxxxxx> 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 &amp; 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux