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
One font not included in PDF (when triggering command line via Jenkins)
Moderators: Alexander Halser, Tim Green
-
- Posts: 50
- Joined: Tue Apr 30, 2019 4:29 pm
- Tim Green
- Site Admin
- Posts: 23187
- 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)
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.
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
-
- Posts: 50
- Joined: Tue Apr 30, 2019 4:29 pm
Re: One font not included in PDF (when triggering command line via Jenkins)
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.
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.
- Tim Green
- Site Admin
- Posts: 23187
- 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)
Hi Markus,
Windows permissions are a little messy at times...
Windows permissions are a little messy at times...
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.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.