One font not included in PDF (when triggering command line via Jenkins)

Please post all questions on Help+Manual 8 here

Moderators: Alexander Halser, Tim Green

Post Reply
markusflow
Posts: 50
Joined: Tue Apr 30, 2019 4:29 pm

One font not included in PDF (when triggering command line via Jenkins)

Unread post by markusflow »

Hi all,

one format in our H&M project uses as specific font.
When compiling a PDF manually: all good
When compiling a PDF via cmd command in a bat file: all good
When triggering the same bat file via Jenkins with same user privilages: font missing in PDF (words formatted with this format are shown in Arial).

Any hints are welcome. I also switch PDF export reference devices. No changes yet.

Markus
User avatar
Tim Green
Site Admin
Posts: 23186
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: One font not included in PDF (when triggering command line via Jenkins)

Unread post by Tim Green »

Hi Markus,

Are you embedding the font in your PDF? If not what is probably happening is that the Jenkins build is just being opened in a location where the font is not available.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
markusflow
Posts: 50
Joined: Tue Apr 30, 2019 4:29 pm

Re: One font not included in PDF (when triggering command line via Jenkins)

Unread post by markusflow »

Thanks, Tim. Your hint solved it.

Font is installed under user A
Manual H&M trigger is done by user A
Jenkins service is executed as user A

So I did not see the difference. But after reinstalling the font "for all users", it works. So Jenkins service is executed as user A seems to be not exactly what I am expecting from a technical point of view.
User avatar
Tim Green
Site Admin
Posts: 23186
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: One font not included in PDF (when triggering command line via Jenkins)

Unread post by Tim Green »

Hi Markus,

Windows permissions are a little messy at times... 8)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply