Our state of the art Gantt chart


Post by Maxim Gorkovsky »

I haven't seen anything like this before. It looks like an issue with a font. Considering you had problem running chrome on server viewtopic.php?f=52&t=13479&p=70539#p70084 , I may assume some OS component is missing or malfunctioning.
But just in case, can you post is this thread HTML which is sent to the server so I could check it against my environment?

I have tried this server on Ubuntu machines on Azure and other VDS. Which OS do you use? Can you provide more info about your server setup? The more the better.

Post by MauriceLapre »

I've attached the posted html part.

Server setup:
- Ubuntu 16.04.4 LTS (VmWare virtual machine)
- 1 vCPU, 2 GB RAM, 20 GB disk

And what about the fileName config not working, which I mentioned earlier? Added the fileName in the Export to PDF demo, export file still gets the name of the first task.
features : {
        pdfExport : {
            exportServer: 'https://dev.bryntum.com:8082',
            fileName : 'myexport.pdf',
            headerTpl,
            footerTpl
        }
    }
Last edited by MauriceLapre on Mon Mar 23, 2020 9:34 am, edited 1 time in total.

Post by Maxim Gorkovsky »

I see no attachment on your post. Please amend.

Post by MauriceLapre »

Can't attach the txt file holding the html code, error:
ERROR
The upload was rejected because the uploaded file was identified as a possible attack vector

Post by Maxim Gorkovsky »

Try to zip the file first?

Post by MauriceLapre »

That seems to work.
Attachments
export-html.zip
(8.77 KiB) Downloaded 133 times

Post by Maxim Gorkovsky »

I can see that missing character is • which is unicode for bullet. See here: https://www.fileformat.info/info/unicode/char/2022/index.htm
And font awesome symbols are rendered just fine as I can see.

So problem is the font on your system. Try to look up why not all unicode symbols are rendered in ubuntu 16. Maybe you'll find this article helpful: https://askubuntu.com/questions/689607/how-do-i-resolve-missing-characters-in-my-unicode-font

Post by MauriceLapre »

We're looking into it, thanks!

Post by MauriceLapre »

We've installed all the language packages from that askubuntu link, but it's still not showing the bullet symbol properly.

1)
sudo apt-get update
sudo apt-get install ttf-ancient-fonts

2)
sudo apt install fonts-noto

3)
sudo apt-get install fonts-symbola

4)
apt-get install xfonts-unifont ttf-unifont


Any other suggestions maybe?

Thank you.

Post by Maxim Gorkovsky »

I can suggest to create new VM with ubuntu 16 and see if it works for you. I believe a very slim installation would suffice: you only need ubuntu, node js and npm.
What happens if you open this thread in a chrome in your Ubuntu VM? Can you see this symbol • ?

And, of course as a fallback, you can just disable that symbol, by adding this style:
.b-export-content .b-icon-tree-leaf:before {
content: '' !important;
}

Post Reply