Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Change the Anti-Aliase value based on the font through script

Participant ,
Aug 13, 2021 Aug 13, 2021

Hi,

 

I have one requiement to change the Anti-Aliase value based on the font through script.
On that ArtLayer there are mixed of fonts used. But my requirement is to change the particular content which is applid the particular font.

 

Here i need to change all the content which is applied the "Courier New Regular" font.
Please check and help me to our from this.

 

Thanks

Asuvath

Screenshot 2021-08-13 at 4.11.21 PM.png

 

TOPICS
Actions and scripting
445
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
LEGEND ,
Aug 13, 2021 Aug 13, 2021

I don't think that is in any way possible. If at all you would likely have to filter for a specific string, but to my admitted limited knowledge paragraph text does not expose the actual font options selectively via script, so there would be no way of knowing what font is used where.

 

Mylenium

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2021 Aug 13, 2021

I'll extend your knowledge of my experience, this is possible, but not easy 😉

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 13, 2021 Aug 13, 2021

Thanks Kukurykus. I can able to learn. Can you please?

 

Thanks

Asuvath

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2021 Aug 13, 2021

Have you tried to browse the forum for similar requests?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Aug 13, 2021 Aug 13, 2021

Isn't the anti-aliasing style applied to all the text at once? That is, we cannot stay within the same text layer if we need to apply different anti-aliasing styles. It's really hard.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 13, 2021 Aug 13, 2021

Loll that's true. I tried it now manually and found it doesn't work the way as applying a font kind. So if you select part of text on the same layer, it is going to change whole text in that layer. Why then the author ask for a thing he knows he can't accomplish that manually 😕

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Mentor ,
Aug 13, 2021 Aug 13, 2021
LATEST

I tried removing the property from the textKey descriptor and moving it inside the style. In this case, anti-aliasing is reset to its default value. Values ​​within styles are ignored.

In theory, we can split the text into 2 layers - in one text with one anti-aliasing style, in the other with another. But there is a problem of positioning text fragments (in a monospaced courier, you can fill the text with spaces, but this trick will not work with other fonts)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 13, 2021 Aug 13, 2021

Thanks for Checking....

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines