bugThe FreeType Project - Bugs: bug #59703, [COLRv1] Upstreaming of Google's...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #59703: [COLRv1] Upstreaming of Google's COLRv1 Contributions

Submitter:  Dominik Röttsches <drott>
Submitted:  Wed 16 Dec 2020 01:29:06 PM UTC
   
 
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.11

Fri 15 Jan 2021 09:14:20 AM UTC, comment #4: 

The COLR v1 stuff is now in FreeType's git repository.  Thanks for the contribution!

Werner LEMBERG <wl>
Group administrator
Thu 14 Jan 2021 01:48:34 PM UTC, comment #3: 


> The COLRv1 table in TrueType and the SVG table in CFF2 provide similar information. FreeType should try to be agnostic in representing the color information to the user. Therefore, I argue that FT_GlyphSlot->other is the best place to store the color information.


As Werner pointed out on the mailing list when I originally proposed the COLRv1 addition [1]: These two approaches are not mutually exclusive. As long as FreeType does not have a comprehensive color solution, support for gradients, blending, compositing etc, we find it useful to expose the COLRv1 primitives specifically and implement rasterization at the 2D graphics library level, where gradient primitives, compositing operations, layering etc. are already available.

[1] https://www.mail-archive.com/freetype-devel@nongnu.org/msg12194.html

Dominik Röttsches <drott>
Thu 24 Dec 2020 02:45:37 PM UTC, comment #2: 

The COLRv1 table in TrueType and the SVG table in CFF2 provide similar information. FreeType should try to be agnostic in representing the color information to the user. Therefore, I argue that FT_GlyphSlot->other is the best place to store the color information.

I would be nice to have a comprehensive color solution in FreeType for years to come. It is important to have some alignment between this COLRv1 color primitives and an internal or external SVG interpretation.

Alexei Podtelezhnikov <podtelez>
Group Member
Wed 16 Dec 2020 03:42:38 PM UTC, comment #1: 

I am drafting an email with additional inquiry for feedback and my proposed plan to the mailing list and I'll send that out soon.

Dominik Röttsches <drott>
Wed 16 Dec 2020 01:29:06 PM UTC, original submission:  

In a previous thread on the mailing list, I announced our intention to upstream support for the COLRv1 font format.

https://www.mail-archive.com/freetype-devel@nongnu.org/msg12031.html

COLRv1 is a color vector font format that is space efficient, supports variations and expressive tools for extending COLRv0 to support gradients, compositing, and transformations.

After a round of initial feedback on my work in progress in this pull request: https://github.com/drott/freetype2-colr/pull/3 I know plan to work on editing this large pull requests into smaller semantic pieces for easier review.

Filing this bug to track the upstreaming.


Dominik Röttsches <drott>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by podtelez (Posted a comment)
  • -email is unavailable- added by drott (Submitted the item)
  • -email is unavailable- added by drott
  • -email is unavailable- added by drott
  • -email is unavailable- added by drott
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-01-15 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.11
    2020-12-16 drott Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code