I notice WebFOCUS didn't get all font from Microsoft OS, so I assume WebFOCUS have their own font page and I want try to add addition font for my Graph. is there a way to import into WebFOCUS so when I "Edit" the graph can select the font as I imported. or is there another way should be doing this? (By the way, my graph was create by IA)This message has been edited. Last edited by: nox,
WebFOCUS v8.2.06 , Windows
March 10, 2020, 11:44 AM
FP Mod Chuck
Nox
In this manual https://webfocusinfocenter.inf...fs7/wf8207crlang.pdf in chapter 9 is the only reference I can find for adding fonts but it is specific to PDF output not graphs. You may need to open a case with techsupport.
Which font are you wanting to use?
Thank you for using Focal Point!
Chuck Wolff - Focal Point Moderator WebFOCUS 7x and 8x, Windows, Linux All output Formats
March 10, 2020, 12:22 PM
Waz
For a chart (JSCHART), you should be able to use a CSS files pointing to any web fonts available on the internet (IF you purchase them or they are free, copy them locally).
Then use SET CSSURL to point to the file, and stylesheet to point to the font in the chart.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 11, 2020, 09:26 PM
nox
Hi Chunk,
Thanks for the reply, the one what I try add is Microsoft JhengHei it is used for Chinese character.
Hi Waz,
I'll try your suggestion, but better if you can provide a sample code maybe?
Many thanks
WebFOCUS v8.2.06 , Windows
March 11, 2020, 11:00 PM
Waz
Try googling css and web and fonts
e.g. css3 fontsThis message has been edited. Last edited by: Waz,
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
March 15, 2020, 10:45 PM
nox
Hi Waz,
I mean would be nice if have sample code in WebFOCUS's Graph XD
I try following and it DID NOT work:
ON GRAPH PCHOLD FORMAT JSCHART ON GRAPH SET CSSURL 'C:\Users\Nox\Documents\Microsoft JhengHei_font\font\font.css' ON GRAPH SET VZERO OFF ON GRAPH SET GRWIDTH 1 ON GRAPH SET UNITS &WF_STYLE_UNITS ON GRAPH SET HAXIS &WF_STYLE_WIDTH ON GRAPH SET VAXIS &WF_STYLE_HEIGHT ON GRAPH SET LOOKGRAPH BAR ON GRAPH SET AUTOFIT ON ON GRAPH SET STYLE * *GRAPH_SCRIPT