[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/3] profiles: Add fonts-dir-file hook.
From: |
Alex Kost |
Subject: |
Re: [PATCH 2/3] profiles: Add fonts-dir-file hook. |
Date: |
Wed, 06 Jul 2016 22:41:38 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2016-07-05 17:31 +0300) wrote:
> Alex Kost <address@hidden> skribis:
[...]
>> This hook generates "fonts.dir" only for "share/fonts/truetype"
>> directory. Directories with X fonts are not touched, because all
>> sub-directories of "share/fonts/X11" already contain "fonts.dir" files
>> (font-adobe75dpi, font-misc-misc and other X font packages install
>> "fonts.dir").
>>
>> 'font-alias' package does not contain fonts.dir file because it doesn't
>> make sense: this package does not provide any font. It just installs
>> "fonts.alias" files inside "share/fonts/X11/{75dpi,100dpi,cyrillic,misc}"
>> directories. Eric made this commit for one particular case: to make it
>> possible to use font aliases in the default X server configuration
>> ('xorg-configuration-file' in (gnu services xorg) module).
>>
>> Just to mention, I think we shouldn't modify 'font-alias' package as it
>> leads to a bug <http://bugs.gnu.org/22100>, and should do some other
>> workaround. I have 2 ideas (not sure if they make any sense):
>>
>> 1) To add a special package (font-alias-with-fonts.dir) that will be used
>> in 'xorg-configuration-file'.
>>
>> 2) To do 'union-build' on packages with X fonts and aliases and to use it
>> in the X config. With this, we can revert that Eric's commit, and
>> everything should just work (I mean the X config will work and the bug
>> will be fixed).
>
> Could you discuss it with address@hidden and Cc: Eric? I’m not
> sure I’m competent enough to comment, so I’d rather let you and Eric
> figure out what needs to be done. :-)
OK, I think I should try to make a patch at first to show what I mean.
--
Alex
- [PATCH 0/3] Generate "<profile>/share/fonts/truetype/fonts.dir" file, Alex Kost, 2016/07/01
- [PATCH 1/3] gnu: mkfontdir: Do not propagate 'mkfontscale'., Alex Kost, 2016/07/01
- [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/01
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/02
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/02
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/05
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook.,
Alex Kost <=
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/22
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Ludovic Courtès, 2016/07/24
- Re: [PATCH 2/3] profiles: Add fonts-dir-file hook., Alex Kost, 2016/07/25
[PATCH 3/3] doc: Describe how to make X server find TrueType fonts., Alex Kost, 2016/07/01