Discovering the font file from the font name

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

 



--=-8WIHjZJQd0Lgdcx7tahT
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Right Keith, people,

I got a good source of sample at Fontilus... Now I can do what I need!
Thanks fot the help!

Another point. In my company we are working in some customizations of
fontconfig also. Beyond the actual management it does, we need that
fontconfig also works with a new sort of configuration. I'll explain.

For example, fontconfig now deals with all the fonts installed into the
system right? System wide and per user, under '~/.font.conf', ok?

We need that into '~/.font.conf' there is a new tag for the
enabled/disabled fonts, so when an client application to fontconfig
queries fontconfig for the available fonts, those tagged as disabled are
hidden from the applicatin request. So the user can make a complete
customization for his needs, hidding from his applications the fonts
that he doesn't need (or want) to use.

So, again, what are the directions for this modification? I believe that
both, the configuration module, which deals with the XML configuration,
and the matching module will need changes... Any tips for know? Just to
make thinks faster... Where to look first, or maybe, some explantion on
how all works together.

We at our company believe this could be a good improvement to
fontconfig... And we are excited to contribute to the improvement of
fontconfig!

Thanks for the attention!

Adriano Del Vigna de Almeida


Em Qua, 2003-12-17 às 19:03, Keith Packard escreveu:

> Around 18 o'clock on Dec 17, Adriano Del Vigna de Almeida wrote:
> 
> > I need to discover the font file from the font name. For example, I want
> > to remove the font named 'BitStream Vera Sans'. I need to pass to my
> > application this name, and then discover that this font name is
> > associated with '/usr/share/fonts/bitstream-vera/vera.ttf', for example.
> 
> That's all fontconfig does; check out the fontconfig documentation or look
> at some of thecode in Pango, Mozilla or Xft to see how it's all put
> together.
> 
> -keith
> 
> 
> 
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxx
> http://fontconfig.org/mailman/listinfo/fontconfig
> 

--=-8WIHjZJQd0Lgdcx7tahT
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.9">
</HEAD>
<BODY>
Right Keith, people,<BR>
<BR>
I got a good source of sample at Fontilus... Now I can do what I need! Thanks fot the help!<BR>
<BR>
Another point. In my company we are working in some customizations of fontconfig also. Beyond the actual management it does, we need that fontconfig also works with a new sort of configuration. I'll explain.<BR>
<BR>
For example, fontconfig now deals with all the fonts installed into the system right? System wide and per user, under '~/.font.conf', ok?<BR>
<BR>
We need that into '~/.font.conf' there is a new tag for the enabled/disabled fonts, so when an client application to fontconfig queries fontconfig for the available fonts, those tagged as disabled are hidden from the applicatin request. So the user can make a complete customization for his needs, hidding from his applications the fonts that he doesn't need (or want) to use.<BR>
<BR>
So, again, what are the directions for this modification? I believe that both, the configuration module, which deals with the XML configuration, and the matching module will need changes... Any tips for know? Just to make thinks faster... Where to look first, or maybe, some explantion on how all works together.<BR>
<BR>
We at our company believe this could be a good improvement to fontconfig... And we are excited to contribute to the improvement of fontconfig!<BR>
<BR>
Thanks for the attention!<BR>
<BR>
Adriano Del Vigna de Almeida<BR>
<BR>
<BR>
Em Qua, 2003-12-17 &#224;s 19:03, Keith Packard escreveu:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>Around 18 o'clock on Dec 17, Adriano Del Vigna de Almeida wrote:

&gt; I need to discover the font file from the font name. For example, I want
&gt; to remove the font named 'BitStream Vera Sans'. I need to pass to my
&gt; application this name, and then discover that this font name is
&gt; associated with '/usr/share/fonts/bitstream-vera/vera.ttf', for example.

That's all fontconfig does; check out the fontconfig documentation or look
at some of thecode in Pango, Mozilla or Xft to see how it's all put
together.

-keith



_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxx</FONT>
<A HREF="http://fontconfig.org/mailman/listinfo/fontconfig";><U>http://fontconfig.org/mailman/listinfo/fontconfig</U></A>
<FONT COLOR="#737373"></I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>

--=-8WIHjZJQd0Lgdcx7tahT--




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux