View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000619 | luatex | luatex bug | public | 2011-05-01 10:25 | 2011-05-10 06:56 |
| Reporter | Kazuki Maeda | Assigned To | Taco | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Core 2 Duo | OS | Gentoo Linux | ||
| Fixed in Version | 0.70.0 | ||||
| Summary | 0000619: wrong font name is embedded for not font subsets | ||||
| Description | When the key 'embedding' of a font table is set to 'no' or 'full', LuaTeX (rev 4233) writes the wrong font name '+' .. <font name> in the result PDF. The attached patch fixes this. | ||||
| Tags | No tags attached. | ||||
|
|
writefont.patch (627 bytes)
Index: source/texk/web2c/luatexdir/font/writefont.w
===================================================================
--- source/texk/web2c/luatexdir/font/writefont.w (revision 4234)
+++ source/texk/web2c/luatexdir/font/writefont.w (working copy)
@@ -211,9 +211,10 @@
l1 = strlen(fd->subset_tag);
l2 = strlen(fd->fontname);
p = s = xmalloc(l1 + l2 + 2);
- if (l1 > 0)
+ if (l1 > 0) {
p += snprintf(p, l1 + 1, fd->subset_tag);
- p += snprintf(p, 2, "+");
+ p += snprintf(p, 2, "+");
+ }
snprintf(p, l2 + 1, fd->fontname);
pdf_dict_add_name(pdf, key, s);
xfree(s);
|
|
|
applied, thanks |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-05-01 10:25 | Kazuki Maeda | New Issue | |
| 2011-05-01 10:25 | Kazuki Maeda | File Added: writefont.patch | |
| 2011-05-01 10:28 | Taco | Status | new => assigned |
| 2011-05-01 10:28 | Taco | Assigned To | => Taco |
| 2011-05-01 10:31 | Taco | Note Added: 0000831 | |
| 2011-05-01 10:31 | Taco | Status | assigned => resolved |
| 2011-05-01 10:31 | Taco | Resolution | open => fixed |
| 2011-05-10 06:56 | Taco | Fixed in Version | => 0.70.0 |
| 2011-05-10 06:56 | Taco | Status | resolved => closed |