However, when I tried it, I saw that the font-family is sometimes set, and sometimes aren’t. I’m basically just calling GetSlideWithFormat to get a single slide as an SVG image.
You can see my examples along with a PNG containing some feedback here https://www.ortic.com/aspose_font_test.zip (PPTX with embedded font is too big to be attached to this message).
We are sorry for the inconvenience caused. We are able to reproduce the issue GET /slides/{name}/slides/{slideIndex}/saveAs/{format} API is ignoring the fontsFolder parameter. Our Development team is diagnosing the issue SLIDESCLOUD-401 and trying to fix it at the earliest. We will keep you updated on the progress here.
Can you give us any schedule for this? This is unfortunately quite a show stopper for us.
Do you have a list of available system fonts? Maybe there’s one that would work for us.
Can you give us any schedule for this? This is unfortunately quite a show stopper for us.
Do you have a list of available system fonts? Maybe there’s one that would work for us.
Please spare us some time we are working hard to fix this issue at the earliest. In case it takes some time we will share with you the list of available system fonts.
@mateensajjad@sohail.aspose according ot the status this problem should be resolved. However, it still seems to fail in some cases. I’ve attached a simple three slides powerpoint file and the SVG output. As you can see it says Arial in all places.
GET /slides/{name}/slides/{slideIndex}/saveAs/{format} API was not earlier supporting fontsFolder parameter but now it is. You can upload custom fonts to Cloud Storage and specify their path as value to fontsFolder parameter.
Alternatively, let us know the names of fonts that your input documents are using, we will upload those fonts to our Production server. If possible please share the font files.
@sohail.aspose okay thanks, will change the PHP SDK to support this. I’m just confused because it works for some files and it fails for others. I don’t want the fonts to be embedded in the SVG, I just want the right font name to show up in the SVG properties.
Using vectorize is also not an option as we need the text in the SVG too.
@sohail.aspose I’m not entirely sure what would be the consequence. I will check fontsFolder to see if it makes a difference and if it doesn’t help I’ll get back to you about this approach. Thanks!
@sohail.aspose I tried to use the fontsFolder parameter, but it doesn’t seem to change anything. I actually can’t get any of the parameters to work. I’d also like to increase the DPI but it doesn’t have any impact: aspose-test.php · GitHub
If you want to try to see if uploading the fonts makes a different, these are the fonts we are using Source Sans 3 - Google Fonts
This is the call it makes (app sid and signature removed):
If it helps, I can also send you a complete example you can run on the console. I just don’t want to upload those things to be available to the public.
You are right fontsFolder parameter is not working. The API generates the same output document regardless I specify fontsFolder parameter value or not.
We are going to reopen this issue for further evaluation.