[ncl-talk] fonts in NCL

Dennis Shea shea at ucar.edu
Sat Dec 30 09:01:40 MST 2017


Sorry, NCL does not allow "user defined fonts".

NCL has a fixed set of fonts available:

https://www.ncl.ucar.edu/Document/Graphics/font_tables.shtml

===
These can be invoked by 'function codes'

===
NCL's default font is helvetica (font 21) since NCL 6.1.0

https://www.ncl.ucar.edu/Document/Graphics/Images/font21.png

===
You can change your default via a .hluresfile which resides in your home
directory.

[snip]
! Font stuff
*appClass*Font              : helvetica
[snip]

To change your default to (say) times-roman

*appClass*Font              : times-roman

======
Hope that helps


On Sat, Dec 30, 2017 at 7:46 AM, Arka Banerjee via ncl-talk <
ncl-talk at ucar.edu> wrote:

> We are the users and not paid from ncl group. You have to put effort in
> this.
>
> Good luck.
>
> On Dec 30, 2017 8:04 PM, "Jian Wang" <montager.wang at gmail.com> wrote:
>
> Oops, I do actually search, find nothing satisfied and then came to ask. I
> mean use USER-DEFINED fonts in NCL, not the fonts in NCL system, the only
> page I find
> about this topic is below. Seem there in no solution on this issue. What I
> need is expert's advice and not the words like teach me how to walk.
>
>
>>
> 2017-12-30 22:16 GMT+08:00 Arka Banerjee <arka354deb at gmail.com>:
>
>> Wang,
>>
>> You should explore first. I am not in front of my system.
>>
>> Arka
>>
>> On Dec 30, 2017 19:42, "Jian Wang" <montager.wang at gmail.com> wrote:
>>
>>> Hello, I'm afraid I did not find how to set an extra font, like "DejaVu
>>> Sans Mono" in NCL, could you please give me example page ?
>>>
>>> Thanks and regards
>>>
>>> 2017-12-30 21:48 GMT+08:00 Arka Banerjee <arka354deb at gmail.com>:
>>>
>>>> Hello,
>>>> Do you see the examples available in NCL site?
>>>> There you can find out a solution.
>>>>
>>>> Hope this is cool.
>>>>
>>>> Arka
>>>>
>>>> On Dec 30, 2017 19:14, "王健 via ncl-talk" <ncl-talk at ucar.edu> wrote:
>>>>
>>>>> Dear NCL community,
>>>>>
>>>>> A simple question I want to ask is how to use user-defined font in
>>>>> NCL'.
>>>>>
>>>>> By the way, Wish you all a happy new year!
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Chris
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> ncl-talk at ucar.edu
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>
>>>>>
>>>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171230/3cd28add/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WX20171230-222444.png
Type: image/png
Size: 83799 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20171230/3cd28add/attachment-0001.png>


More information about the ncl-talk mailing list