I have installed the confluence ,when i was add the Lucidchart Diagrams OnPrem - Confluence and configure the Asian characters, remind me to modify the public.json file ,how can i find out it?
Hi @Jian1, Dmitry from Lucidchart here. The public.json file would be inside the asianFonts.zip archive that you've downloaded (the link with the text "here" in the paragraph from the screenshot points to it). You need to upload and unpack the archive somewhere in your Confluence server and make it available via HTTP(S) by modifying server.xml.
Here are the rough steps/commands you'll want to execute (assuming a Unix-like server environment):
/var/atlassian/application-data/confluence:
user@server:
/var/atlassian/application-data/confluence
$ wget https:
//d2slcw3kip6qmk
.cloudfront.net
/common/fonts/asianfonts
.zip
user@server:
/var/atlassian/application-data/confluence
$ unzip asianFonts-20180307.zip
conf/server.xml
. Find the Host
element with the attribute name="localhost"
and add the following Context element:
<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
...
<Context docBase="/var/atlassian/application-data/confluence/asianFonts" path="/customFonts" />
</Host>
asianFonts/public.json
file from the archive, replacing every instance of the string PATH_TO_FONTS
with the URL to the directory configured in the previous step. For example:sed
-i
"s~PATH_TO_FONTS~https://confluence.example.com/customFonts~g"
public.json
https://<YOUR CONFLUENCE HOST>/customFonts/public.json
in your browser
I'd also like to mention that we're releasing a new version of our add-on tomorrow (March 15) which will include performance improvements to loading fonts. There will be an updated Asian fonts archive + improved documentation. I will post back as soon as the release happens!
Hey @Jianming_ZHU I'm happy to share that we released a new version of our app (1.16.13) that contains improvements to font loading performance. You can download it from the Marketplace: https://marketplace.atlassian.com/plugins/com.lucidchart.onprem.confluence.plugins.lucid-onprem-confluence/server/overview
You will need to download a new version of the asian fonts package in order to take advantage of the performance improvements. Please refer to this Help Center article:
Let me know if this works for you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.