Ali Majdzadeh | 27 Feb 2007 15:03
Picon

Configuring default font

Hello All
Sorry, if my question is elementary. I have installed Persian fonts. Is there a way to configure the system to use a special font as the system default font? I can view and edit text using installed fonts, but I don't know how I can specify a font to be the default one. (For example, in desktop environments or widgets' captions.)


Best Regards
Ali

<div><p>Hello All<br>Sorry, if my question is elementary. I have installed Persian fonts. Is there a way to configure the system to use a special font as the system default font? I can view and edit text using installed fonts, but I don't know how I can specify a font to be the default one. (For example, in desktop environments or widgets' captions.)
<br><br><br>Best Regards<br>Ali<br></p></div>
mayank jain | 27 Feb 2007 15:13
Picon

Re: Configuring default font

On 2/27/07, Ali Majdzadeh <ali.majdzadeh <at> gmail.com> wrote:
> Sorry, if my question is elementary.

You dont need to be sorry... Its better to ask questions than to
remain in darkness :)

I have installed Persian fonts. Is
> there a way to configure the system to use a special font as the system
> default font? I can view and edit text using installed fonts, but I don't
> know how I can specify a font to be the default one. (For example, in
> desktop environments or widgets' captions.)

You can check /etc/sysconfig/i18n file
Also, try running gnome-font-properties and see if it helps :)

Regards,
Makuchaku
http://www.makuchaku.info/blog

Ali Majdzadeh | 27 Feb 2007 15:21
Picon

Re: Configuring default font

Hello Mayank
Thanks for your help. I am going to test it.

Best Regards
Ali

On 2/27/07, mayank jain < mayank.gnu <at> gmail.com> wrote:
On 2/27/07, Ali Majdzadeh < ali.majdzadeh <at> gmail.com> wrote:
> Sorry, if my question is elementary.

You dont need to be sorry... Its better to ask questions than to
remain in darkness :)

I have installed Persian fonts. Is
> there a way to configure the system to use a special font as the system
> default font? I can view and edit text using installed fonts, but I don't
> know how I can specify a font to be the default one. (For example, in
> desktop environments or widgets' captions.)

You can check /etc/sysconfig/i18n file
Also, try running gnome-font-properties and see if it helps :)

Regards,
Makuchaku
http://www.makuchaku.info/blog

--
Fedora-i18n-list mailing list
Fedora-i18n-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-i18n-list

<div>
<p>Hello Mayank<br>Thanks for your help. I am going to test it.<br><br>Best Regards<br>Ali<br><br></p>
<div>
<span class="gmail_quote">On 2/27/07, mayank jain &lt;<a href="mailto:mayank.gnu <at> gmail.com">
mayank.gnu <at> gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote">On 2/27/07, Ali Majdzadeh &lt;<a href="mailto:ali.majdzadeh <at> gmail.com">
ali.majdzadeh <at> gmail.com</a>&gt; wrote:<br>&gt; Sorry, if my question is elementary.<br><br>You dont need to be sorry... Its better to ask questions than to<br>remain in darkness :)<br><br>I have installed Persian fonts. Is
<br>&gt; there a way to configure the system to use a special font as the system<br>&gt; default font? I can view and edit text using installed fonts, but I don't<br>&gt; know how I can specify a font to be the default one. (For example, in
<br>&gt; desktop environments or widgets' captions.)<br><br>You can check /etc/sysconfig/i18n file<br>Also, try running gnome-font-properties and see if it helps :)<br><br>Regards,<br>Makuchaku<br><a href="http://www.makuchaku.info/blog">
http://www.makuchaku.info/blog</a><br><br>--<br>Fedora-i18n-list mailing list<br><a href="mailto:Fedora-i18n-list <at> redhat.com">Fedora-i18n-list <at> redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-i18n-list">
https://www.redhat.com/mailman/listinfo/fedora-i18n-list</a><br>
</blockquote>
</div>
<br>
</div>
Ali Majdzadeh | 27 Feb 2007 15:44
Picon

Re: Configuring default font

Hello Mayank
I tested the instructions you had mentioned. I managed to solve the problem in GNOME (Using gnome-font-properties). By the way, I modified the /etc/sysconfig/i18n file as follows:

LANG="fa_IR.UTF-8"
SUPPORTED="fa_IR.UTF-8:fa_IR:fa"
SYSFONT="Roya"

Is there any system-wide configuration file that can be used to store font information so that all the environments (KDE, GNOME, Xfce, ...) behave consistent with regard to font issues? For example, what is the configuration file that gnome-font-properties uses? What is the equivalent of that file in KDE or Xfce?
By using gnome-font-properties, I changed all the fonts to "Roya" font and GNOME properly modified and used that font instead of all the other fonts; but KDE didn't; it still uses another font for displaying Persian text ("Homa" font).

Best Regards
Ali

On 2/27/07, mayank jain <mayank.gnu <at> gmail.com> wrote:
On 2/27/07, Ali Majdzadeh <ali.majdzadeh <at> gmail.com> wrote:
> Sorry, if my question is elementary.

You dont need to be sorry... Its better to ask questions than to
remain in darkness :)

I have installed Persian fonts. Is
> there a way to configure the system to use a special font as the system
> default font? I can view and edit text using installed fonts, but I don't
> know how I can specify a font to be the default one. (For example, in
> desktop environments or widgets' captions.)

You can check /etc/sysconfig/i18n file
Also, try running gnome-font-properties and see if it helps :)

Regards,
Makuchaku
http://www.makuchaku.info/blog

--
Fedora-i18n-list mailing list
Fedora-i18n-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-i18n-list

<div>
<p>Hello Mayank<br>I tested the instructions you had mentioned. I managed to solve the problem in GNOME (Using gnome-font-properties). By the way, I modified the /etc/sysconfig/i18n file as follows:<br><br>LANG="fa_IR.UTF-8"
<br>SUPPORTED="fa_IR.UTF-8:fa_IR:fa"<br>SYSFONT="Roya"<br><br>Is there any system-wide configuration file that can be used to store font information so that all the environments (KDE, GNOME, Xfce, ...) behave consistent with regard to font issues? For example, what is the configuration file that gnome-font-properties uses? What is the equivalent of that file in KDE or Xfce?
<br>By using gnome-font-properties, I changed all the fonts to "Roya" font and GNOME properly modified and used that font instead of all the other fonts; but KDE didn't; it still uses another font for displaying Persian text ("Homa" font).
<br><br>Best Regards<br>Ali<br><br></p>
<div>
<span class="gmail_quote">On 2/27/07, mayank jain &lt;<a href="mailto:mayank.gnu <at> gmail.com">mayank.gnu <at> gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote">
On 2/27/07, Ali Majdzadeh &lt;<a href="mailto:ali.majdzadeh <at> gmail.com">ali.majdzadeh <at> gmail.com</a>&gt; wrote:<br>&gt; Sorry, if my question is elementary.<br><br>You dont need to be sorry... Its better to ask questions than to
<br>remain in darkness :)<br><br>I have installed Persian fonts. Is<br>&gt; there a way to configure the system to use a special font as the system<br>&gt; default font? I can view and edit text using installed fonts, but I don't
<br>&gt; know how I can specify a font to be the default one. (For example, in<br>&gt; desktop environments or widgets' captions.)<br><br>You can check /etc/sysconfig/i18n file<br>Also, try running gnome-font-properties and see if it helps :)
<br><br>Regards,<br>Makuchaku<br><a href="http://www.makuchaku.info/blog">http://www.makuchaku.info/blog</a><br><br>--<br>Fedora-i18n-list mailing list<br><a href="mailto:Fedora-i18n-list <at> redhat.com">Fedora-i18n-list <at> redhat.com
</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-i18n-list">https://www.redhat.com/mailman/listinfo/fedora-i18n-list</a><br>
</blockquote>
</div>
<br>
</div>
mayank jain | 27 Feb 2007 16:33
Picon

Re: Configuring default font

On 2/27/07, Ali Majdzadeh <ali.majdzadeh <at> gmail.com> wrote:
> I tested the instructions you had mentioned. I managed to solve the problem
> in GNOME (Using gnome-font-properties). By the way, I modified the
> /etc/sysconfig/i18n file as follows:
>
> LANG="fa_IR.UTF-8"
> SUPPORTED="fa_IR.UTF-8:fa_IR:fa"
> SYSFONT="Roya"

Thats nice :)

> Is there any system-wide configuration file that can be used to store font
> information so that all the environments (KDE, GNOME, Xfce, ...) behave
> consistent with regard to font issues? For example, what is the
> configuration file that gnome-font-properties uses? What is the equivalent
> of that file in KDE or Xfce?
> By using gnome-font-properties, I changed all the fonts to "Roya" font and
> GNOME properly modified and used that font instead of all the other fonts;
> but KDE didn't; it still uses another font for displaying Persian text
> ("Homa" font).

Try having a look at /etc/fonts/fonts.conf for all users &
~/.fonts.conf for the local user.

I hope it helps :)
Regards,
Makuchaku
http://www.makuchaku.info

Jens Petersen | 28 Feb 2007 10:24
Picon
Favicon

naming scheme for fonts packages?

I am currently reviewing a Tibetan font for inclusion in Fedora.
It is called Tibetan Machine Uni, and we have had a lengthy
polite discussion on the naming of the package both in and out
of bugzilla, also with the upstream maintainer.  (The project is hosted 
on SourceForge and GPL fwiw).  The package was submitted as 
tibetan-machine-uni-fonts, so I suggested fonts-tibetan.  However since 
the font is also good for Bhutanese, the submitter and the maintainer 
think fonts-tibetan-dzongkha (bhutanese) would be more appropriate.

It occurred to me that we really need some guideline about naming of 
fonts packages.  Most of our international fonts follow the naming 
scheme "fonts-*" where "*" is the generally the English name of the 
language, which makes  the package pretty easy to find.  And the 
remainder are mostly suffixed with "-fonts".  Currently in F7T2 there are:

fonts-ISO8859-2 fonts-KOI8-R fonts-arabic fonts-bengali fonts-chinese 
fonts-gujarati fonts-hebrew fonts-hindi fonts-japanese fonts-kannada 
fonts-korean fonts-malayalam fonts-oriya fonts-punjabi fonts-sinhala 
fonts-tamil fonts-telugu

and:

bitmap-fonts bitstream-vera-fonts dejavu-lgc-fonts ghostscript-fonts 
tetex-fonts urw-fonts xorg-x11-fonts

In Extras the fonts tend to be more alternative/miscellaneous I guess:

VLGothic-fonts artwiz-aleczapka-fonts charis-fonts dejavu-fonts 
doulos-fonts gentium-fonts hunky-fonts linux-libertine-fonts 
mathml-fonts mgopen-fonts terminus-font, and fonts-hebrew-fancy

So perhaps we need to set two naming conventions: using 
"fonts-<language>" for standard international fonts and "<name>-fonts" 
for alternative general fonts?

Of course "fonts-<language>" doesn't quite solve the problem for the 
Tibetan font... ;)  The name fonts-tibetan-script was also brought up, 
and even fonts-bodic.

It would probably be good to add some text about in on
http://fedoraproject.org/wiki/Packaging/NamingGuidelines anyway.

Comments?  Opinions?

Jens

--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Nicolas Mailhot | 28 Feb 2007 11:03
Favicon

Re: naming scheme for fonts packages?


Le Mer 28 février 2007 10:24, Jens Petersen a écrit :

> So perhaps we need to set two naming conventions: using
> "fonts-<language>" for standard international fonts and "<name>-fonts"
> for alternative general fonts?

fonts-foo are usually a mashup of fonts for a specific encoding, and
foo-fonts fonts with distinct style that may span several languages areas.

To be honest I'm not too fond of foo-font packages. They're a necessary
8-bit legacy stopgap, but I'd rather have vibrant font projects competing
on quality and international coverage. You don't get that if you bundle
different upstreams in neutraly named packages. (the fact that FC was more
fonts-foo and FE foo-fonts reflects a rather utilitarian view of fonts
RH-side, and the huge weight of the fossilized fonts sourced from
xfree86/xorg)

IMHO (which if worth what it's worth) you're not packaging generic fonts
for tibetan but a specific font project, and it deserves name recognition
just like any other upstream. So upstreamname-fonts seems more respectful
for me. Also have you though of what will happen should someone want to
package another tibetan font in a few months ?

-- 
Nicolas Mailhot

--

-- 
fedora-devel-list mailing list
fedora-devel-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list

Picon

Re: naming scheme for fonts packages?

Hi,
On 2/28/07, Jens Petersen <petersen <at> redhat.com> wrote:
> I am currently reviewing a Tibetan font for inclusion in Fedora.
> It is called Tibetan Machine Uni, and we have had a lengthy
> polite discussion on the naming of the package both in and out
> of bugzilla, also with the upstream maintainer.  (The project is hosted
> on SourceForge and GPL fwiw).  The package was submitted as
> tibetan-machine-uni-fonts, so I suggested fonts-tibetan.  However since
> the font is also good for Bhutanese, the submitter and the maintainer
> think fonts-tibetan-dzongkha (bhutanese) would be more appropriate.
 +1. I agree with fonts-tibetan-dzongkha-bhutanese package name.

>
> It occurred to me that we really need some guideline about naming of
> fonts packages.  Most of our international fonts follow the naming
> scheme "fonts-*" where "*" is the generally the English name of the
> language, which makes  the package pretty easy to find.  And the
> remainder are mostly suffixed with "-fonts".  Currently in F7T2 there are:
>
> fonts-ISO8859-2 fonts-KOI8-R fonts-arabic fonts-bengali fonts-chinese
> fonts-gujarati fonts-hebrew fonts-hindi fonts-japanese fonts-kannada
> fonts-korean fonts-malayalam fonts-oriya fonts-punjabi fonts-sinhala
> fonts-tamil fonts-telugu
>
> and:
>
> bitmap-fonts bitstream-vera-fonts dejavu-lgc-fonts ghostscript-fonts
> tetex-fonts urw-fonts xorg-x11-fonts
>
> In Extras the fonts tend to be more alternative/miscellaneous I guess:
>
> VLGothic-fonts artwiz-aleczapka-fonts charis-fonts dejavu-fonts
> doulos-fonts gentium-fonts hunky-fonts linux-libertine-fonts
> mathml-fonts mgopen-fonts terminus-font, and fonts-hebrew-fancy
>
> So perhaps we need to set two naming conventions: using
> "fonts-<language>" for standard international fonts and "<name>-fonts"
> for alternative general fonts?
  +1. Good point.
>
> Of course "fonts-<language>" doesn't quite solve the problem for the
> Tibetan font... ;)  The name fonts-tibetan-script was also brought up,
> and even fonts-bodic.
>
> It would probably be good to add some text about in on
> http://fedoraproject.org/wiki/Packaging/NamingGuidelines anyway.
>
  This is now really needed and FESCO should discuss this in tomorrow's meeting.
> Comments?  Opinions?
>
> Jens
>
> --
> Fedora-maintainers mailing list
> Fedora-maintainers <at> redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-maintainers
>

--
Fedora-maintainers mailing list
Fedora-maintainers <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-maintainers

Ali Majdzadeh | 28 Feb 2007 16:31
Picon

Re: Configuring default font

Hi Mayank
Thanks for your response. I think, I should investigate more on /etc/fonts. I checked that directory. There are different subdirectories out there, and also some xml files. I am going to check those files.
Thanks a lot for your guidance.

Best Regards
Ali

On 2/27/07, mayank jain <mayank.gnu <at> gmail.com> wrote:
On 2/27/07, Ali Majdzadeh <ali.majdzadeh <at> gmail.com > wrote:
> I tested the instructions you had mentioned. I managed to solve the problem
> in GNOME (Using gnome-font-properties). By the way, I modified the
> /etc/sysconfig/i18n file as follows:
>
> LANG="fa_IR.UTF-8"
> SUPPORTED="fa_IR.UTF-8:fa_IR:fa"
> SYSFONT="Roya"

Thats nice :)

> Is there any system-wide configuration file that can be used to store font
> information so that all the environments (KDE, GNOME, Xfce, ...) behave
> consistent with regard to font issues? For example, what is the
> configuration file that gnome-font-properties uses? What is the equivalent
> of that file in KDE or Xfce?
> By using gnome-font-properties, I changed all the fonts to "Roya" font and
> GNOME properly modified and used that font instead of all the other fonts;
> but KDE didn't; it still uses another font for displaying Persian text
> ("Homa" font).

Try having a look at /etc/fonts/fonts.conf for all users &
~/.fonts.conf for the local user.

I hope it helps :)
Regards,
Makuchaku
http://www.makuchaku.info

--
Fedora-i18n-list mailing list
Fedora-i18n-list <at> redhat.com
https://www.redhat.com/mailman/listinfo/fedora-i18n-list

<div>
<p>Hi Mayank<br>Thanks for your response. I think, I should investigate more on /etc/fonts. I checked that directory. There are different subdirectories out there, and also some xml files. I am going to check those files.<br>
Thanks a lot for your guidance.<br><br>Best Regards<br>Ali<br><br></p>
<div>
<span class="gmail_quote">On 2/27/07, mayank jain &lt;<a href="mailto:mayank.gnu <at> gmail.com">mayank.gnu <at> gmail.com</a>&gt; wrote:
</span><blockquote class="gmail_quote">On 2/27/07, Ali Majdzadeh &lt;<a href="mailto:ali.majdzadeh <at> gmail.com">ali.majdzadeh <at> gmail.com
</a>&gt; wrote:<br>&gt; I tested the instructions you had mentioned. I managed to solve the problem<br>&gt; in GNOME (Using gnome-font-properties). By the way, I modified the<br>&gt; /etc/sysconfig/i18n file as follows:<br>
&gt;<br>&gt; LANG="fa_IR.UTF-8"<br>&gt; SUPPORTED="fa_IR.UTF-8:fa_IR:fa"<br>&gt; SYSFONT="Roya"<br><br>Thats nice :)<br><br>&gt; Is there any system-wide configuration file that can be used to store font
<br>&gt; information so that all the environments (KDE, GNOME, Xfce, ...) behave<br>&gt; consistent with regard to font issues? For example, what is the<br>&gt; configuration file that gnome-font-properties uses? What is the equivalent
<br>&gt; of that file in KDE or Xfce?<br>&gt; By using gnome-font-properties, I changed all the fonts to "Roya" font and<br>&gt; GNOME properly modified and used that font instead of all the other fonts;<br>&gt; but KDE didn't; it still uses another font for displaying Persian text
<br>&gt; ("Homa" font).<br><br>Try having a look at /etc/fonts/fonts.conf for all users &amp;<br>~/.fonts.conf for the local user.<br><br>I hope it helps :)<br>Regards,<br>Makuchaku<br><a href="http://www.makuchaku.info">
http://www.makuchaku.info</a><br><br>--<br>Fedora-i18n-list mailing list<br><a href="mailto:Fedora-i18n-list <at> redhat.com">Fedora-i18n-list <at> redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/fedora-i18n-list">
https://www.redhat.com/mailman/listinfo/fedora-i18n-list</a><br>
</blockquote>
</div>
<br>
</div>
mayank jain | 28 Feb 2007 19:14
Picon

Re: Configuring default font

On 2/28/07, Ali Majdzadeh <ali.majdzadeh <at> gmail.com> wrote:
> Hi Mayank
> Thanks for your response. I think, I should investigate more on /etc/fonts.
> I checked that directory. There are different subdirectories out there, and
> also some xml files. I am going to check those files.
>  Thanks a lot for your guidance.

I'm glad that I was of some help :)

Regards,
Makuchaku


Gmane