mail-archives/mono-bugs/2009-February/086045.html

171 строка
4.4 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 475844] New: Custom TTF Font - defaults to installed system TTFs?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20475844%5D%20New%3A%20Custom%20TTF%20Font%20-%20defaults%20to%0A%20installed%20system%20TTFs%3F&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="086105.html">
<LINK REL="Next" HREF="086046.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 475844] New: Custom TTF Font - defaults to installed system TTFs?</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20475844%5D%20New%3A%20Custom%20TTF%20Font%20-%20defaults%20to%0A%20installed%20system%20TTFs%3F&In-Reply-To="
TITLE="[Mono-bugs] [Bug 475844] New: Custom TTF Font - defaults to installed system TTFs?">bugzilla_noreply at novell.com
</A><BR>
<I>Fri Feb 13 15:44:19 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="086105.html">[Mono-bugs] [Bug 475823] ExpressionType.NodeType yield different results when compiled on gmcs vc csc
</A></li>
<LI>Next message: <A HREF="086046.html">[Mono-bugs] [Bug 475844] Custom TTF Font - defaults to installed system TTFs?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#86045">[ date ]</a>
<a href="thread.html#86045">[ thread ]</a>
<a href="subject.html#86045">[ subject ]</a>
<a href="author.html#86045">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=475844">https://bugzilla.novell.com/show_bug.cgi?id=475844</A>
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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">kardosbalint at gmail.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
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: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="086105.html">[Mono-bugs] [Bug 475823] ExpressionType.NodeType yield different results when compiled on gmcs vc csc
</A></li>
<LI>Next message: <A HREF="086046.html">[Mono-bugs] [Bug 475844] Custom TTF Font - defaults to installed system TTFs?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#86045">[ date ]</a>
<a href="thread.html#86045">[ thread ]</a>
<a href="subject.html#86045">[ subject ]</a>
<a href="author.html#86045">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>