Search found 5 matches

by Morgan-
Tue Mar 30, 2021 9:44 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 2973

Re: Use font without include or install them

Thanks you Vadim, you answer my question.

Subject's closed !
by Morgan-
Thu Mar 18, 2021 10:38 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 2973

Re: Use font without include or install them

Thanks you, i've find the issue. I use the StiPdfExportSettings in my code and this one is EmbeddedFonts = true by default but i set him to false. That's why it's don't works. If i set him to true that's works, but it's will include the font into the pdf and growth the size of the pdf ? If i underst...
by Morgan-
Mon Mar 15, 2021 2:54 pm
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 2973

Re: Use font without include or install them

I’ve try with this font: https://www.dafont.com/fr/wolf-in-the-city.font In the font file, the name is “Wolf in the City”. In mrt file, i've modified all font name in <Font></Font> by Wolf in the City Like: <Font>Wolf in the City, 8</Font> The font in the generated pdf file is not the “Wolf in the C...
by Morgan-
Tue Mar 09, 2021 10:07 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 2973

Re: Use font without include or install them

Hi again, Thanks for the answer ! I've try to use this method, but it don't works in my case. This is what i've done : In java : StiFontCollection.addResourceFont("testfont", FileUtils.readFileToByteArray(new File(C:\times.ttf)), "ttf"); {...} StiExportManager.exportPdf(_reportStimulsoft, setting, b...
by Morgan-
Mon Mar 01, 2021 10:35 am
Forum: Stimulsoft Reports.Java
Topic: Use font without include or install them
Replies: 9
Views: 2973

Use font without include or install them

Hello, I have some reports to print both on Windows and Linux servers. For performances issues, i can’t include font inside the reports. I found an option: public static void addResourceFont(java.lang.String p1, byte[] p2, java.lang.String p3). This option seems to allow using font without include t...