Skip to content

Commit

Permalink
document color fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
dk committed Nov 24, 2024
1 parent 27f871a commit e84888a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Revision history for Perl module Prima
- add Date,Time,KeySelector,FrameSet, and CheckList to VB
- s/dragable/draggable/g
- Grouped menu items use a distinct radio style check mark bitmap
- Support CPAL/COLR colored fonts

1.74 2024-08-24
- implement antialiased polygon fill in C, use it in the
Expand Down
14 changes: 14 additions & 0 deletions pod/Prima/Drawable.pod
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,13 @@ Is negative.

Pixel width of the underscore line

=item colored

True if the font has COLR/CPAL information and Prima is compiled with its support,
so that f ex emoji fonts are displayed with full color.

Same as C<Prima::Drawable::is_font_colored>

=back

=head2 Font ABC metrics
Expand Down Expand Up @@ -2381,6 +2388,13 @@ alpha bits.

See also: C<can_draw_alpha>.

=item is_font_colored

True if the current font has COLR/CPAL information and Prima is compiled with its support,
so that f ex emoji fonts are displayed with full color.

Same as C<Prima::Font::colored>

=item render_glyph INDEX, %OPTIONS

Returns a representation of a glyph as an outline. The outline is an integer
Expand Down

0 comments on commit e84888a

Please sign in to comment.