googlefonts / nanoemoji

A wee tool to build color fonts.
Apache License 2.0
239 stars 19 forks source link

Simultaneously support both fixed advanced width and Proportional/Zero width #457

Open prasannagunuru opened 1 year ago

prasannagunuru commented 1 year ago

To provide some context, we have a substantial collection of SVGs, totaling nearly 3000+. The majority of these SVGs are sized at 36x36 pixels. Additionally, there are specific SVGs used for parent and children emojis in family combinations, which are sized at 16x36 pixels and 0x36 pixels, respectively.

The desired output font is expected to have a consistent width of 2612 for all 36x36 pixel inputs, while ensuring that the parent and children glyphs have proportional and zero width as required.

rsheeter commented 1 year ago

Would it be possible to provide examples, perhaps replacing the actual shapes with boxes if it is undesirable to open source the actual artwork?

prasannagunuru commented 1 year ago

Attached our sample input svgs. FYI, Last svg is zero width and not visible. emoji_u1f3a2 emoji_u1f3a3 emoji_u1f3a4 emoji_u1f3a5 emoji_u1f3a6 emoji_u1f3a7 emoji_u1f9d1_person_left emoji_u1f9d1_person_right emoji_u1f9d2_child

prasannagunuru commented 1 year ago

PR to resolve this issue