Re: [NTG-pdftex] [tex-live] \pdffontattr in pdftex-1.40.0-rc4
Hi Reinhard,
Here is the try of a patch, which also shows what happens with the above file. Reinhard, does it remove the warnings in your case?
Yes, after I applied your patch, the warnings don't appear any more.
In this respect, the released version seems to be the same as rc4: I see the warning with cmap.sty. Thanks, Akira
"AK" == Akira Kakuto writes: AK> In this respect, the released version seems to be the same as AK> rc4: I see the warning with cmap.sty. i think that this is happening because both cmap.sty and the new pdftex try to assign the /ToUnicode font attribute: cmap.sty directly via \pdffontattr and the new pdftex internally via it's new feature: - Fonts: - support for subfonts: This creates all needed map entries for subfonts automatically and handles Unicode mappings - ToUnicode entries for Type1 fonts (patch 580) probably pdftex should not auto-assign the /ToUnicode mapping if a macro-package does this explicitly. Best, v.
On Tue, 2 Jan 2007, Akira Kakuto wrote:
Here is the try of a patch, which also shows what happens with the above file. Reinhard, does it remove the warnings in your case?
Yes, after I applied your patch, the warnings don't appear any more.
In this respect, the released version seems to be the same as rc4: I see the warning with cmap.sty.
the patch isn't in yet. Regards, Hartmut
"Hartmut" == Hartmut Henkel
writes:
On Tue, 2 Jan 2007, Akira Kakuto wrote:
Here is the try of a patch, which also shows what happens with > the > > above file. Reinhard, does it remove the warnings in your case?
Yes, after I applied your patch, the warnings don't appear any more.
In this respect, the released version seems to be the same as rc4: I see the warning with cmap.sty.
the patch isn't in yet.
Shall I upload a patched version? I hesitated because Vladimir said "probably pdftex should not auto-assign the /ToUnicode mapping if a macro-package does this explicitly." Don't know what the patch is doing. Cheers, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-4592165 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------
Reinhard Kotucha wrote:
"Hartmut" == Hartmut Henkel
writes: On Tue, 2 Jan 2007, Akira Kakuto wrote:
Here is the try of a patch, which also shows what happens with > the > > above file. Reinhard, does it remove the warnings in your case?
Yes, after I applied your patch, the warnings don't appear any more.
In this respect, the released version seems to be the same as rc4: I see the warning with cmap.sty.
the patch isn't in yet.
Shall I upload a patched version? I hesitated because Vladimir said "probably pdftex should not auto-assign the /ToUnicode mapping if a macro-package does this explicitly." Don't know what the patch is doing.
pdftex needs to be explicitly told to include the vectors (done by setting \pdfgentounicode) so if there are two vectors, then the macro package is behaving badly Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
2007/1/3, Hans Hagen
pdftex needs to be explicitly told to include the vectors (done by setting \pdfgentounicode) so if there are two vectors, then the macro package is behaving badly
The whole unicode thing is missing from the manual... :-( Best Martin
2007/1/3, Reinhard Kotucha
"Hartmut" == Hartmut Henkel
writes: the patch isn't in yet. Shall I upload a patched version? I hesitated because Vladimir said "probably pdftex should not auto-assign the /ToUnicode mapping if a macro-package does this explicitly." Don't know what the patch is doing.
I'm also waiting for Thanh's opinion. And I still haven't got a proper bug report. Best Martin
"Martin" == Martin Schröder
writes:
I'm also waiting for Thanh's opinion. And I still haven't got a proper bug report.
Sorry, but I can't tell you much more because I'm not so familiar with PDF and pdftex internals. All I can tell you that I get warnings like pdfTeX warning (\pdffontattr): font \^^@ has conflicting attributes when I run pdflatex urwvn-test.tex and cmap.sty is present. To reproduce it, cd texmf-dist/doc/generic/vntex/tests && pdflatex urwvn-test.tex If you do not get the warnings, check whether cmap.sty is loaded. cmap.sty is loaded only if it exists. The reason is that we want to allow people who have an older TeX installation (which does not provide cmap.sty) to use the latest vntex release. It is certainly a bug that no warning message appears but this will be fixed in the next release. You can run make distclean afterwards. It's safe to run the Makefile in an svn tree. Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-4592165 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha@web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ----------------------------------------------------------------------------
Reinhard Kotucha wrote:
"Martin" == Martin Schr�der
writes: I'm also waiting for Thanh's opinion. And I still haven't got a proper bug report.
Sorry, but I can't tell you much more because I'm not so familiar with PDF and pdftex internals. All I can tell you that I get warnings like
pdfTeX warning (\pdffontattr): font \^^@ has conflicting attributes
when I run pdflatex urwvn-test.tex and cmap.sty is present.
To reproduce it,
cd texmf-dist/doc/generic/vntex/tests && pdflatex urwvn-test.tex
If you do not get the warnings, check whether cmap.sty is loaded.
cmap.sty is loaded only if it exists. The reason is that we want to allow people who have an older TeX installation (which does not provide cmap.sty) to use the latest vntex release. It is certainly a bug that no warning message appears but this will be fixed in the next release.
i assume that this warning is up to the macro package; context does not use the cmap.sty file Hans -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (6)
-
Akira Kakuto
-
Hans Hagen
-
Hartmut Henkel
-
Martin Schröder
-
Reinhard Kotucha
-
Vladimir Volovich