Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2002 01:31:39 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        pommnitz@darmstadt.gmd.de, ports@FreeBSD.org
Cc:        kkonstan@daemon.gr
Subject:   mapping an iso10646-1 encoding scheme for Microsoft TrueType fonts
Message-ID:  <200206200831.g5K8VNM1068751@gw.catspoiler.org>

next in thread | raw e-mail | index | archive | help
In order to be able to display all the special characters in the
Microsoft TrueType fonts that are not included in the iso8859-*
encodings created by the FreeBSD x11-fonts/webfonts port using the
ttmkfdir program, it is necessary to create mappings for these fonts
using the iso10646-1 encoding scheme. I modified the ttmkfdir program to
create this extra mapping for each font.

The following patch to ttmkfdir.c will creates the extra mapping for the
iso10646-1 encoding scheme, which allows XFree86 to display all the
characters.  I don't know if this is the proper modification to
ttmkfdir.c.

--- ttmkfdir.c.orig	Wed Sep  9 05:50:50 1998
+++ ttmkfdir.c	Thu Jun 20 01:22:49 2002
@@ -770,6 +770,9 @@
 				}
 			    }
 			}
+		        add_mapping (&head, entry->d_name, foundry_name,
+				     font_name, weight_name, widht_name,
+				     &properties, "iso10646-1");
 		    }
 		    break;
 		case TT_MS_ID_SJIS:





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206200831.g5K8VNM1068751>