--- E:\dev\sources\pdfbox-1.7.1\org\apache\pdfbox\pdmodel\font\PDType1CFont.java	Tue Jul 17 21:31:44 2012
+++ PDType1CFont.java	Tue Dec 18 12:12:16 2012
@@ -321,7 +321,18 @@
         CFFParser cffParser = new CFFParser();
         List<CFFFont> fonts = cffParser.parse(cffBytes);
 
-        this.cffFont = (CFFFont)fonts.get(0);
+        // mod
+        String baseFontName=font.getNameAsString("BaseFont");
+        this.cffFont = null;
+        for (CFFFont font: fonts) {
+        	if (font.getName().equals(baseFontName)) {
+        		this.cffFont=font;
+        		break;
+        	}
+        }
+        if (this.cffFont==null) {
+        	this.cffFont = (CFFFont)fonts.get(0);
+        }
 
         CFFEncoding encoding = this.cffFont.getEncoding();
         PDFEncoding pdfEncoding = new PDFEncoding(encoding);
