[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gets vertical skylines from grob stencils (issue 5626052)
From: |
Han-Wen Nienhuys |
Subject: |
Re: Gets vertical skylines from grob stencils (issue 5626052) |
Date: |
Thu, 16 Feb 2012 10:21:45 -0200 |
On Thu, Feb 16, 2012 at 8:08 AM, <address@hidden> wrote:
>> By the way, lilypond's fonts embed extra data in font tables (look for
>
> LILC and
>>
>> LILY in open-type-font.cc). That may be a better way to embed this
>
> information
>>
>> than by putting it in a scm file. For example, it would allow
>
> unofficial fonts
>>
>> to support integrals by embedding an extra table.
>
>
> I think this is a good idea...I'll have a look at it. Question, though
> - aren't font tables done as alists? I think it's important to use a
> hash table here, as there is a lot of data getting thrown around and
> hash table look ups are in constant time. I'll investigate.
OTF tables are arbitrary binary data. IIRC, the fonts are compressed
anyway, so the on-disk space is not that relevant.
When we read the fonts, we interpret the data, see open-type-font.cc,
and alist is just a very convenient form for (de)serializing data. You
could do whatever format works best for you; since the font is only
read once, you don't have to worry about performance when loading it.
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
- Re: Gets vertical skylines from grob stencils (issue 5626052), (continued)
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/15
- Re: Gets vertical skylines from grob stencils (issue 5626052), Janek Warchoł, 2012/02/15
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/15
- Re: Gets vertical skylines from grob stencils (issue 5626052), Janek Warchoł, 2012/02/15
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/15
- Re: Gets vertical skylines from grob stencils (issue 5626052), Han-Wen Nienhuys, 2012/02/16
Re: Gets vertical skylines from grob stencils (issue 5626052), graham, 2012/02/15
Re: Gets vertical skylines from grob stencils (issue 5626052), joeneeman, 2012/02/16
Re: Gets vertical skylines from grob stencils (issue 5626052), mtsolo, 2012/02/16
- Re: Gets vertical skylines from grob stencils (issue 5626052),
Han-Wen Nienhuys <=
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/17
- Re: Gets vertical skylines from grob stencils (issue 5626052), Han-Wen Nienhuys, 2012/02/17
- Re: Gets vertical skylines from grob stencils (issue 5626052), David Kastrup, 2012/02/17
- Re: Gets vertical skylines from grob stencils (issue 5626052), Han-Wen Nienhuys, 2012/02/17
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/18
- Re: Gets vertical skylines from grob stencils (issue 5626052), David Kastrup, 2012/02/19
- Re: Gets vertical skylines from grob stencils (issue 5626052), David Kastrup, 2012/02/19
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/19
- Re: Gets vertical skylines from grob stencils (issue 5626052), David Kastrup, 2012/02/19
- Re: Gets vertical skylines from grob stencils (issue 5626052), address@hidden, 2012/02/19