diff options
author | Martin Schröder <martin@oneiros.de> | 2008-03-23 16:38:33 +0000 |
---|---|---|
committer | Martin Schröder <martin@oneiros.de> | 2008-03-23 16:38:33 +0000 |
commit | 46b33fcf1608dbdc0e2f48761ae28d30fd520304 (patch) | |
tree | 72bc0f79bca1655628d163040b2348af836b9ed4 /Build/source/texk/web2c/pdftexdir/epdf.c | |
parent | 0e50747f61798f158b03612ae1e892fbe1e6d979 (diff) |
- import pdftex 1.40.8-alpha-20080323
- update xpdf to 3.02pl2
- update libpng to 1.2.25
git-svn-id: svn://tug.org/texlive/trunk@7095 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/epdf.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/epdf.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/epdf.c b/Build/source/texk/web2c/pdftexdir/epdf.c index 9f4387badc4..a7c164a6e4a 100644 --- a/Build/source/texk/web2c/pdftexdir/epdf.c +++ b/Build/source/texk/web2c/pdftexdir/epdf.c @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with pdfTeX; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -$Id: epdf.c 114 2007-05-23 18:23:49Z ms $ +$Id$ */ #include "ptexlib.h" @@ -35,7 +35,7 @@ int is_subsetable(fm_entry * fm) return is_subsetted(fm); } -fd_entry *epdf_create_fontdescriptor(fm_entry * fm) +fd_entry *epdf_create_fontdescriptor(fm_entry * fm, int stemV) { fd_entry *fd; if ((fd = lookup_fd_entry(fm->ff_name, fm->slant, fm->extend)) == NULL) { @@ -46,7 +46,9 @@ fd_entry *epdf_create_fontdescriptor(fm_entry * fm) fd->fd_objnum = pdfnewobjnum(); assert(fm->ps_name != NULL); fd->fontname = xstrdup(fm->ps_name); /* just fallback */ - /* preset_fontmetrics (fo->fd, f); */ + // stemV must be copied + fd->font_dim[STEMV_CODE].val = stemV; + fd->font_dim[STEMV_CODE].set = true; fd->gl_tree = avl_create(comp_string_entry, NULL, &avl_xallocator); assert(fd->gl_tree != NULL); } |