Mailinglist Archive: opensuse-bugs (8956 mails)

< Previous Next >
[Bug 213320] New libXft features
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 20 Oct 2006 09:54:55 -0600 (MDT)
  • Message-id: <20061020155455.E1E02B96@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=213320





------- Comment #5 from mfabian@xxxxxxxxxx 2006-10-20 09:54 MST -------
I had to change the CJK patch for libXft a little bit. Like this:

++++++ p_xft_cjk.diff ++++++
--- /var/tmp/diff_new_pack.bk4447/_old 2006-10-20 17:50:08.000000000 +0200
+++ /var/tmp/diff_new_pack.bk4447/_new 2006-10-20 17:50:08.000000000 +0200
@@ -129,13 +129,7 @@
{
if (font->info.load_flags & FT_LOAD_VERTICAL_LAYOUT)
{
-@@ -267,12 +269,26 @@
-
- xftg->metrics.width = width;
- xftg->metrics.height = height;
-- xftg->metrics.x = -TRUNC(left);
-+ xftg->metrics.x = -TRUNC(left) + TRUNC((font->extra_strokes +32) *
1/2);
- xftg->metrics.y = TRUNC(top);
+@@ -267,7 +269,21 @@

if (font->info.spacing >= FC_MONO)
{
@@ -186,7 +180,7 @@
+
+ if (glyphslot->format == ft_glyph_format_bitmap)
+ extra += 8;
-+ extra *= hmul;
++ /* extra *= hmul; */
+ degree = TRUNC(CEIL(extra));
+
+ for (i = 0; i < degree; i++)


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

< Previous Next >
References