# \#fonts

**URL:** https://forums.creativeclouddeveloper.com/tag/fonts/18.md

[Latest](https://forums.creativeclouddeveloper.com/latest.md) · [Categories](https://forums.creativeclouddeveloper.com/categories.md) · [Tags](https://forums.creativeclouddeveloper.com/tags.md)

---

## [Font size UXP variables not changing with font size settings](https://forums.creativeclouddeveloper.com/t/font-size-uxp-variables-not-changing-with-font-size-settings/7660)

<div class="topic-metadata">

**Author:** [@tim35050](https://forums.creativeclouddeveloper.com/u/tim35050)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 5:34pm UTC](https://forums.creativeclouddeveloper.com/t/font-size-uxp-variables-not-changing-with-font-size-settings/7660 "2025-03-27T17:34:48Z")

</div>

Hello all, I am trying to make my plugin theme-aware, following the instructions here: https://developer.adobe.com/photoshop/uxp/2022/guides/theme-awareness/ I was able to use the mentioned CSS variables to successfull…

---

## [Get text scene node font weight as number](https://forums.creativeclouddeveloper.com/t/get-text-scene-node-font-weight-as-number/4942)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 0\
**Last updated:** [July 13, 2022, 10:47pm UTC](https://forums.creativeclouddeveloper.com/t/get-text-scene-node-font-weight-as-number/4942 "2022-07-13T22:47:46Z")

</div>

Is there a way to get the font weight as a number? Here’s what I’m using now but I’d like to the numbers (0-1000). // FONT WEIGHT if (styleRange.fontStyle!=false) { // edited isLight = fontStyle.indexOf("light")!=-1 ||…

---

## [Use Adobe Fonts Typekit](https://forums.creativeclouddeveloper.com/t/use-adobe-fonts-typekit/3092)

<div class="topic-metadata">

**Author:** [@adinu](https://forums.creativeclouddeveloper.com/u/adinu)\
**Replies:** 3\
**Last updated:** [June 21, 2021, 1:53pm UTC](https://forums.creativeclouddeveloper.com/t/use-adobe-fonts-typekit/3092 "2021-06-21T13:53:45Z")

</div>

Many users use the adobe fonts, and they don’t really have the font file to upload. therefore, i need a way to integrate adobe fonts in our plugin. from the docs, it seems like the easiest way is to “add to web project”…

---

## [Font Replacement using walkDownTree](https://forums.creativeclouddeveloper.com/t/font-replacement-using-walkdowntree/1200)

<div class="topic-metadata">

**Author:** [@wzad](https://forums.creativeclouddeveloper.com/u/wzad)\
**Replies:** 8\
**Last updated:** [August 30, 2019, 3:04pm UTC](https://forums.creativeclouddeveloper.com/t/font-replacement-using-walkdowntree/1200 "2019-08-30T15:04:57Z")

</div>

I am trying to create a plugin to replace all fonts in a document (or within a selection). It works fine sometimes but other times it fails with errors like: Plugin Error: Plugin made a change outside the current edit c…

---

## [Is there a way to get the default document font info?](https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-default-document-font-info/752)

<div class="topic-metadata">

**Author:** [@Velara](https://forums.creativeclouddeveloper.com/u/Velara)\
**Replies:** 3\
**Last updated:** [May 1, 2019, 3:52pm UTC](https://forums.creativeclouddeveloper.com/t/is-there-a-way-to-get-the-default-document-font-info/752 "2019-05-01T15:52:22Z")

</div>

Is there a way to get the font used of the current document or the font that XD uses for new documents? Update: Also, basically get text defaults including font size, font family, font color, font weight.

---

## [For People who wants to use Fonts in their plugin](https://forums.creativeclouddeveloper.com/t/for-people-who-wants-to-use-fonts-in-their-plugin/374)

<div class="topic-metadata">

**Author:** [@PramUkesh](https://forums.creativeclouddeveloper.com/u/PramUkesh)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 12:46am UTC](https://forums.creativeclouddeveloper.com/t/for-people-who-wants-to-use-fonts-in-their-plugin/374 "2018-11-08T00:46:37Z")

</div>

Since XD Doesn’t support font api to check which fonts are installed i want to use some how the fonts in system api until API is released i want to store fonts names as Array and use them First i started testing node m…

---

## [Detect the user FONTS](https://forums.creativeclouddeveloper.com/t/detect-the-user-fonts/177)

<div class="topic-metadata">

**Author:** [@igcorreia](https://forums.creativeclouddeveloper.com/u/igcorreia)\
**Replies:** 0\
**Last updated:** [October 3, 2018, 10:13pm UTC](https://forums.creativeclouddeveloper.com/t/detect-the-user-fonts/177 "2018-10-03T22:13:49Z")

</div>

We can do a lot with Fonts and custom fonts. In our case we would like to detect if the user has Font Awesome Installed. That way we can let the user know that our plugin needs that specific font. Or another idea is font…
