[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 96085] Problems with Type 1 as CID fonts
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2005-01-08 0:13:55
Message-ID: 20050108001355.1058.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
        
http://bugs.kde.org/show_bug.cgi?id=96085        
tsdgeos terra es changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From tsdgeos terra es  2005-01-08 01:13 -------
CVS commit by aacid: 

Render correctly Type 1 as CID fonts
Improves font rendering of fireforx nytimes pdf
BUG: 96085
CCMAIL: 95985 bugs kde org


  M +5 -4      SplashFTFontEngine.cc   1.2


--- kdegraphics/kpdf/xpdf/splash/SplashFTFontEngine.cc  #1.1:1.2
 @ -75,5 +75,5  @ SplashFontFile *SplashFTFontEngine::load
                                                 char *fileName,
                                                 GBool deleteFile) {
-  FoFiType1C *ff;
+  //FoFiType1C *ff;
   Gushort *cidToGIDMap;
   int nCIDs;
 @ -81,11 +81,12  @ SplashFontFile *SplashFTFontEngine::load
 
   // check for a CFF font
-  if ((ff = FoFiType1C::load(fileName))) {
+  /*if ((ff = FoFiType1C::load(fileName))) {
     cidToGIDMap = ff->getCIDToGIDMap(&nCIDs);
     delete ff;
-  } else {
+  } else {*/
+  // No need to check for CFF Font, freetype treats all CID fonts the same way
     cidToGIDMap = NULL;
     nCIDs = 0;
-  }
+  //}
   ret = SplashFTFontFile::loadCIDFont(this, idA, fileName, deleteFile,
                                       cidToGIDMap, nCIDs);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic