[Mono-bugs] [Bug 475844] New: Custom TTF Font - defaults to installed system TTFs?

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 13 15:44:19 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=475844


           Summary: Custom TTF Font - defaults to installed system TTFs?
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: i386
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: libgdiplus
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: kardosbalint at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US)
AppleWebKit/530.0 (KHTML, like Gecko) Chrome/2.0.160.0 Safari/530.0

I've created a text-to-image writer based on PNG canvases. It's writing text
with a custom TTF font added to the PrivateFontCollection from the file itself.

On Microsoft .net 3.5 it works as expected, but with mono, the text is written
with an installed system fontface, not the selected one.

I've attached the full project source with some free fonts.
The gdi text writer is implemented as a HttpHandler.

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
Image files are written with default fonts

Expected Results:  
Images files written with special (Creampuf, Zekton, Frakturi fonts)

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list