bugThe FreeType Project - Bugs: bug #52270, Colored fonts

 
 

bug #52270: Colored fonts

Submitted by:  Alex M <codeservice>
Submitted on:  Mon 23 Oct 2017 08:52:17 PM UTC  
 
Severity: 3 - NormalItem Group: Wishlist
Status: InvalidPrivacy: Public
Assigned to: Werner LEMBERG <wl>Open/Closed: Closed
Planned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 25 Oct 2017 05:31:53 AM UTC, comment #1:

Using ftview, I can see coloured glyphs (at 96ppem) in your sample font, so I guess it's a problem on your side.

Closing as invalid. Please compare your code with the source code of the `ftview' FreeType demo program – and please reply if you still think that there is a bug.

Werner LEMBERG <wl>
Project AdministratorIn charge of this item.
Mon 23 Oct 2017 08:52:17 PM UTC, original submission:

I have few ttf colored fonts (one attached for example) with bitmap issue.

Freetype successfully load and recognize this font as colored with FT_HAS_COLOR method.

Issue with rendering bitmap from slot.
This bitmap always has 0 size after rendering (no errors):

error_ = FT_Render_Glyph(face_->glyph, options_.render_mode);
if (error_)
return false;

After rendering:
slot->bitmap.rows = 0 and slot->bitmap.width = 0

Code similar to this url: https://gist.github.com/jokertarot/7583938

Is it bug or Freetype doesn't support colored fonts of this type?

Alex M <codeservice>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #42244:  Funkster.ttf added by codeservice (231KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wl (Posted a comment)
  • -unavailable- added by codeservice (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 25 Oct 2017 05:31:53 AM UTCwlStatusNone=>Invalid
      Assigned toNone=>wl
      Open/ClosedOpen=>Closed
    Mon 23 Oct 2017 08:52:18 PM UTCcodeserviceAttached File-=>Added Funkster.ttf, #42244

    Back to the top


    Powered by Savane 3.1-cleanup1