Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 0bcd3cfc9cac136fd15398b071d02ca1 > files > 14

fonts-ttf-japanese-ipamona-20060712-7mdv2010.0.noarch.rpm

¤µ¤¶¤Ê¤ß¥Õ¥©¥ó¥È¤Ë¤Ä¤¤¤Æ

¤³¤Î¥Õ¥©¥ó¥È¤Ï¡¢Common Lisp ¤Ë°Ü¿¢¤µ¤ì¤¿ÏÂÅĸ¦¥Õ¥©¥ó¥È¥­¥Ã¥È (CLWFK) ¤ò
»ÈÍѤ·¤Æ¼«Æ°Åª¤ËÀ¸À®¤µ¤ì¤¿¥Õ¥©¥ó¥È¤È¡¢´û¸¤Î²þÊѼ«Í³¤Ê¥Ó¥Ã¥È¥Þ¥Ã¥×¥Õ¥©¥ó¥È
¤òÁȤ߹ç¤ï¤»¤ÆºîÀ®¤·¤¿Êª¤Ç¤¹¡£

ʸ»ú¤Î¹½À®Åª¤Ë¤ÏÅìÉ÷¥Õ¥©¥ó¥ÈÂåÂØ¥Õ¥©¥ó¥È¤È¤Û¤ÜƱ¤¸¤Ç¤¹¤¬¡¢¥¹¥±¥ë¥È¥óÄêµÁ
¥Ç¡¼¥¿¤Ë¤Þ¤ÇÁ̤俸í»ú¤Î½¤Àµ¤¬¹Ô¤ï¤ì¤Æ¤¤¤Þ¤¹¡£¾­ÍèŪ¤Ë¤Ï¡¢¥×¥í¥°¥é¥à¤Î²þÁ±
¤Ë¤è¤ê¡¢´Á»ú¥Ç¥¶¥¤¥ó¤ÎÉʼÁ¸þ¾å¤ò¿Þ¤Ã¤Æ¤¤¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

¤³¤Î¥Ð¡¼¥¸¥ç¥ó¤ÏºÇ½é¤Î¥ê¥ê¡¼¥¹¤Ç¡¢ÉʼÁ¾å¤ÏÈó¾ï¤ËÉÔ´°Á´¤Êʪ¤Ç¤¹¡£
ÅìÉ÷¥Õ¥©¥ó¥ÈÂåÂØ¥Õ¥©¥ó¥È¤è¤ê¡¢ÉÔ¶ñ¹ç¤¬È¯À¸¤¹¤ë²ÄǽÀ­¤Ï¹â¤¤¤Ç¤·¤ç¤¦¡£
ÌäÂêÅÀ¤òȯ¸«¤µ¤ì¤Þ¤·¤¿¤é¤´Êó¹ð¤¤¤¿¤À¤±¤ë¤È¹¬¤¤¤Ç¤¹¡£

Ï¢ÍíÀè¤È¤·¤Æ¤Ï efont-devel ¥á¡¼¥ê¥ó¥°¥ê¥¹¥È¤«¸ø³«¥Õ¥©¡¼¥é¥à¤ò¤´»ÈÍѤ¯¤À¤µ¤¤¡£
¤É¤Á¤é¤â http://sourceforge.jp/projects/efont/ ¤«¤é¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤¹¡£


¥é¥¤¥»¥ó¥¹

¥Ð¥¤¥Ê¥ê¤Ï¡¢¥½¡¼¥¹¥³¡¼¥É¤Î¥é¥¤¥»¥ó¥¹¤ÈƱÅù¤È¤·¤Þ¤¹¡£¤¿¤À¤·¡¢¥Õ¥©¥ó¥È¤Î
ʸ½ñ¤Ø¤ÎËä¤á¹þ¤ß¤Ê¤É¡¢¥Õ¥©¥ó¥È¤È¤·¤Æ¤ÎºÆ»ÈÍѤòÌÜŪ¤È¤·¤Ê¤¤ÍÑÅӤˤª¤¤¤Æ¤Ï¡¢
°Ê²¼¤Ç¸À¤¦ Redistribution ¤Ë¤ÏÅö¤¿¤é¤º¡¢À©¸Â¤Ê¤¯¹Ô¤¨¤ë¤â¤Î¤È¤·¤Þ¤¹¡£

Copyright (c) 1990-2003
	Wada Laboratory, the University of Tokyo. All rights reserved.
Copyright (c) 2003-2004
	Electronic Font Open Laboratory (/efont/). All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
   this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
3. Neither the name of the Wada Laboratory, the University of Tokyo nor
   the names of its contributors may be used to endorse or promote products
   derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY WADA LABORATORY, THE UNIVERSITY OF TOKYO AND
CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE LABORATORY OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Ëä¤á¹þ¤Þ¤ì¤¿¥Ó¥Ã¥È¥Þ¥Ã¥×¥Õ¥©¥ó¥È¤Î¥é¥¤¥»¥ó¥¹¤Ë¤Ä¤¤¤Æ¤Ï¡¢³Æ¥Õ¥©¥ó¥È¤ÎźÉÕ
¥É¥­¥å¥á¥ó¥È¤òƱº­¤·¤Æ¤ª¤ê¤Þ¤¹¤Î¤Ç¡¢¤½¤Á¤é¤ò¤´»²¾È¤¯¤À¤µ¤¤¡£

ËÜ¥Õ¥©¥ó¥È¤Ë´Þ¤Þ¤ì¤ëÅìÉ÷¥Õ¥©¥ó¥ÈͳÍè¤Î¥°¥ê¥Õ¤Ï¡¢¸ÅÀîÂÙÇ·¤µ¤ó¤¬Ã±ÆȤǺîÀ®¤·¤¿
¥ª¥ê¥¸¥Ê¥ë¥Ç¥¶¥¤¥ó¤Ë´ð¤Å¤¯ Public Domain ÁêÅö¤Î¥Ç¡¼¥¿¤Î¤ß¤¬´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¡£
ÆüΩÀ½ºî½ê¤È¥¿¥¤¥×¥Ð¥ó¥¯¤Ë¤è¤ê³«È¯¤µ¤ì¤¿ 32 ¥É¥Ã¥È¥Ó¥Ã¥È¥Þ¥Ã¥×¤ËͳÍ褹¤ë
´Á»ú¥Ç¡¼¥¿¡¢¥Ó¥Ã¥È¥Þ¥Ã¥×¥Ç¡¼¥¿¡¢¸½ºß¤Î CLWFK ¤Î ¥é¥¤¥»¥ó¥¹¤È°Û¤Ê¤ë¥é¥¤¥»¥ó¥¹
¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤¿ÏÂÅĸ¦¥Õ¥©¥ó¥È¤ËͳÍ褹¤ë¥Ç¡¼¥¿¤Ï´Þ¤Þ¤ì¤Æ¤¤¤Þ¤»¤ó¡£


¥Ó¥ë¥É´Ä¶­

FontForge (20040601ÈÇ) ¤Ë¡¢°Ê²¼¤Î¥Ñ¥Ã¥Á¤òÅö¤Æ¤ÆºîÀ®¤·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï¡¢
¡¦ÅùÉý¥Õ¥©¥ó¥È¤òɬÍפȤ¹¤ë´Ä¶­¤Ç²£Éý¤¬¤º¤ì¤ë
¡¦Ëä¤á¹þ¤Þ¤ì¤¿¥Ó¥Ã¥È¥Þ¥Ã¥×¤¬Í­¸ú¤Ë¤Ê¤é¤Ê¤¤
¤È¤¤¤¦ÌäÂêÅÀ¤ò²ò·è¤¹¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£¥ª¥ê¥¸¥Ê¥ë¤Î FontForge ¤Ë
¼è¤ê¹þ¤ó¤Ç¤â¤é¤¦Í½Äê¤Ç¤¹¡£

--- fontforge/tottf.c.orig	Mon Jun  7 19:18:27 2004
+++ fontforge/tottf.c	Wed Jun 16 13:37:06 2004
@@ -3038,6 +3038,8 @@
     int i,j,cnt1,cnt2,first,last,avg1,avg2,k;
     SplineFont *sf = _sf;
     char *pt;
+    static int const weightFactors[26] = { 64, 14, 27, 35, 100, 20, 14, 42, 63,
+	3, 6, 35, 20, 56, 56, 17, 4, 49, 56, 71, 31, 10, 18, 3, 18, 2 };
 
     os2->version = 1;
     os2->weightClass = sf->pfminfo.weight;
@@ -3102,9 +3104,10 @@
 		if ( sf->chars[i]->width!=0 ) {
 		    avg2 += sf->chars[i]->width; ++cnt2;
 		}
-		if ( sf->chars[i]->unicodeenc==' ' ||
-			(sf->chars[i]->unicodeenc>='a' && sf->chars[i]->unicodeenc<='z')) {
-		    avg1 += sf->chars[i]->width; ++cnt1;
+		if ( sf->chars[i]->unicodeenc==' ') {
+		    avg1 += sf->chars[i]->width * 166; ++cnt1;
+		} else if (sf->chars[i]->unicodeenc>='a' && sf->chars[i]->unicodeenc<='z') {
+		    avg1 += sf->chars[i]->width * weightFactors[sf->chars[i]->unicodeenc-'a']; ++cnt1;
 		}
 	    }
 	}
@@ -3122,9 +3125,9 @@
     while ( pt<os2->achVendID ) *pt++ = ' ';	/* Pad with spaces not NUL */
 
     os2->avgCharWid = 500;
-    /*if ( cnt1==27 )
-	os2->avgCharWid = avg1/cnt1;
-    else*/ if ( cnt2!=0 )
+    if ( cnt1==27 )
+	os2->avgCharWid = avg1/1000;
+    else if ( cnt2!=0 )
 	os2->avgCharWid = avg2/cnt2;
     memcpy(os2->panose,sf->pfminfo.panose,sizeof(os2->panose));
     if ( format==ff_ttfsym ) {
@@ -3349,11 +3352,34 @@
 	putshort(at->os2f,0);
 }
 
-static void dumpgasp(struct alltabs *at) {
+static void dumpgasp(struct alltabs *at, SplineFont *sf) {
+    BDFFont *bdf;
+    uint32 bitmaps = 0;
+    int i, rangecnt = 1;
+
+    for ( bdf=sf->bitmaps; bdf!=NULL; bdf=bdf->next) {
+	if ( BDFDepth(bdf)==1 && bdf->pixelsize<=32 )
+	    bitmaps |= 1<<(bdf->pixelsize-1);
+    }
+    for ( i=1; i<32; i++ ) {
+      if ( (bitmaps&(1<<i))!=((bitmaps&(1<<(i-1)))<<1) )
+	rangecnt++;
+    }
+    if (bitmaps&(1<<31)) rangecnt++;
 
     at->gaspf = tmpfile();
     putshort(at->gaspf,0);	/* Version number */
-    putshort(at->gaspf,1);	/* One range */
+    putshort(at->gaspf,rangecnt);	/* One range */
+    for ( i=0; i<31; i++ ) {
+	if ( (bitmaps&(1<<i))<<1 != (bitmaps&(1<<(i+1))) ) {
+	    putshort(at->gaspf, i+1);
+	    putshort(at->gaspf, bitmaps&(1<<i) ? 0x0 : 0x2);
+	}
+    }
+    if ( bitmaps&(1<<31) ) {
+	putshort(at->gaspf,32);
+	putshort(at->gaspf,0x0);
+    }
     putshort(at->gaspf,0xffff);	/* Upper bound on pixels/em for this range */
     putshort(at->gaspf,0x2);	/* Grey scale, no gridfitting */
 				    /* No hints, so no grids to fit */
@@ -4730,7 +4756,7 @@
     redoos2(at);
     if ( format!=ff_otf && format!=ff_otfcid && format!=ff_none ) {
 	if ( !SFHasInstructions(sf))
-	    dumpgasp(at);
+	    dumpgasp(at, sf);
 	at->fpgmf = dumpstoredtable(sf,CHR('f','p','g','m'),&at->fpgmlen);
 	at->prepf = dumpstoredtable(sf,CHR('p','r','e','p'),&at->preplen);
 	at->cvtf = dumpstoredtable(sf,CHR('c','v','t',' '),&at->cvtlen);



Êѹ¹ÍúÎò

2004-06-18	ºÇ½é¤Î¥Ð¡¼¥¸¥ç¥ó¡£

2004-06-21	¥Þ¥¤¥Ê¡¼¤ÊÉÔ¶ñ¹ç¤Î½¤Àµ¡£´Á»ú¤Î¥¢¥¦¥È¥é¥¤¥ó¤ÏÁ´¤¯°ì½ï¡£

¡¦½Ä½ñ¤­¤Ë 'vert' ¢ª 'vert' ¥Õ¥£¡¼¥Á¥ã¤ò»ÈÍѤ¹¤ë¤è¤¦¤ËÊѹ¹¡£
¡¦Oradano ¤ÎÉÔÍפÊʸ»ú¤ò¼è¤ê½ü¤­¡¢¥Ñ¥¹¤ò½ÅÊ£½üµî
¡¦Latin1 ¤Î¥¢¥¯¥»¥ó¥È¤Ä¤­Ê¸»ú¤ò¡¢¹çÀ®¤ÇÀ¸À®¤¹¤ë¤è¤¦¤Ë¤·¤Æ¤ß¤¿
¡¦ÌÀÄ«¤Î U+FF02 ¤¬¸í¤Ã¤Æ U+FF01 ¤ò½ñ¤­ÄÙ¤·¤Æ¤¤¤¿¤Î¤ò½¤Àµ
¡¦PostScript ̾¤Ë¶õÇò¤¬´Þ¤Þ¤ì¤Æ¤¤¤¿¤Î¤Ç¡¢'-' ¤ËÃÖ´¹¤·¤¿¡£

¤³¤ÎÊѹ¹¤Ë¤è¤ê½Ä½ñ¤­¤¬¤Ç¤­¤Ê¤¯¤Ê¤Ã¤Æ¤¤¤¿¤¿¤á¡¢¸ø³«¤òÊÝα¤·¤¿¡£

2004-06-29	Á°¤Î¥Ð¡¼¥¸¥ç¥ó¤ÎÉÔ¶ñ¹ç¤Î½¤Àµ¡£

¡¦½ÅÊ£½üµî½èÍý¤Ë¤è¤Ã¤Æ¥¢¥¦¥È¥é¥¤¥ó¤¬²õ¤ì¤¿Ê¸»ú¤ò½¤Àµ¡£
¡¡ÌÀÄ«: 5E43, 72A7, 7FB2, 855A, 9120
  ¥´¥·¥Ã¥¯: 5804, 5DC7, 6969, 7768 (âË), 789E, 8CC7 (»ñ), 8EF1, 9193
           (9090 ¤È 9115 ¤Ï°ÍÁ³²õ¤ì¤¿¤Þ¤Þ¤Ç¤¢¤ë)
¡¦vert °Ê³°¤Î OpenType ¥ì¥¤¥¢¥¦¥È¥¿¥°¤ò GSUB ¥Æ¡¼¥Ö¥ë¤«¤é½üµî¡£
¡¦Ëä¤á¹þ¤ß¥Ó¥Ã¥È¥Þ¥Ã¥× (ayu ͳÍè) ¤Î³°»ú¥°¥ê¥Õ¤¬Àµ¤·¤¯¥¨¥ó¥³¡¼¥É¤µ¤ì¤Æ¤ª¤é¤º¡¢
¡¡½Ä½ñ¤­¤Î¾®½ñ¤­¤Î²¾Ì¾¤¬´Ý¿ô»ú¤Ë²½¤±¤Æ¤¤¤¿¤Î¤ò½¤Àµ¡£
¡¦´Á»ú¤Î²¾ÁÛ¥°¥ê¥Ã¥É¤Î¾åü¤¬¤Î y ºÂɸ¤¬ 1000 ¤Ë¤Ê¤ë¥Ð¥°¤¬¤¢¤Ã¤¿¤Î¤ò½¤Àµ¡£
  ´Á»ú¤Ï 1024 ʬ¤Î 24 ¤À¤±Ä㤫¤Ã¤¿¤³¤È¤Ë¤Ê¤ë¡£