[dvipdfmx] CMAPName is different across settings

Ulrike Fischer news3 at nililand.de
Wed Nov 13 15:10:23 CET 2019

Dear Akira,

>> We have in our testsuite pdf based tests which fails if the tests are
>> run on other systems due to a different prefix of the /CMAPname

> Font name prefix is calculated by
> srand(current_time)
> and a function rand().
> Therefore the prefix depends on the random function,
> or used computer. [x]dvipdfmx does not have its own random
> function.

> In my system, I obtain
> [CQPECL+LMRoman10-Regular]

Yes, in the mean time David searched in the code and found the srand
too. It looks as if the function can give different results on
different OS and this means the result is not usable for our testsuites.

We will normalize the pdf and remove/replace the  /CQPECL+
part of the font names in l3build.

Mit freundlichen Grüßen
Ulrike Fischer

More information about the dvipdfmx mailing list