Re: Select by name + properties (italic/width)?

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

 



Well, it sounds like what you want to do is to make a substitution
font for Arial and Arial condensed etc. just putting the following
rule into $HOME/.config/fontconfig/fonts.conf, or $HOME/.fonts.conf if
you are using 2.9.0 or earlier:

<alias>
  <family>Arial</family>
  <prefer><family>Arial condensed</family></prefer>
</alias>

With this rule, fontconfig will returns Arial condensed when requesting Arial.

On Thu, Oct 11, 2012 at 4:50 AM, mathog <mathog@xxxxxxxxxxx> wrote:
> This does raise a question though.  If a document is prepared on a system
> that has, for instance, "Arial condensed",
> and it must be handled on a system which just has "Arial" (and for
> argument's sake, no other condensed fonts)
> how does one deal with the situation?  Is there a way to convince FreeType
> to expand/contract the Arial font that
> it does have?  Does FontConfig have anything to do with this process?
>
> I know there is: FT_Set_Char_Size() which has separate char width and height
> fields.  If the width/height were
> changed from 0/height  to (some fraction of the height)/height, would this
> accomplish the desired effect?
>
>
> Thank you,
>
> David Mathog
> mathog@xxxxxxxxxxx
> Manager, Sequence Analysis Facility, Biology Division, Caltech
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig


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

  Powered by Linux