[Pkg-fonts-devel] Bug#762296: Bug#762296: Bug#762296: "Droid Sans Fallback" refers to three different files

Jonas Smedegaard dr at jones.dk
Sun Sep 21 08:28:15 UTC 2014


Quoting Christian PERRIER (2014-09-21 09:52:13)
>
>> So something needs to be done. With my Ubuntu glasses I think the 
>> best solution is to stop letting fonts-droid install 
>> DroidSansFallback.ttf and DroidSansFallbackLegacy.ttf for now. Then, 
>> if it's considered important to include them somehow, it should be 
>> done in a more carefully considered manner.
>
>
> Hmmmm, that seems sensible. I'm puzzled, though, by the less worse way 
> to achieve this.
>
> As of now, we have:
>
> bubulle at sesostris:~/src/debian/pkg-fonts/git/fonts-android(master) $ more debian/fonts-droid.install
> Droid*.ttf      usr/share/fonts/truetype/droid
> ...
>
> So basically : "let's install all fonts whose name starts with "Droid"
> ". How can we technically do "All fonts whose name starts with 'Droid'
> but two of them"
>
> Unless we, of course, list them all one by one....
>
> Maybe something like this
>
> override_dh_install:
>         dh_install
>         rm <path>/DroidSansFallback.ttf || true
>         rm <path>/DroidSansFallbackLegacy.ttf || true

How about this instead:

Droid*.ttf      usr/share/fonts-droid/truetype

...and then register DroidSansFull.ttf with alternatives system, 
symlinking it into usr/share/fonts/truetype/droid/DroidSans.ttf

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fonts-devel/attachments/20140921/ab586679/attachment.sig>


More information about the Pkg-fonts-devel mailing list