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

change fonts in a variable

Community Beginner ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

Hello,

I'd like to use two different fonts in a variable (webdings and Kodzuka Gothic, if that makes a difference). I can't figure out how to make both fonts appear at the same time. I'm using FrameMaker

Views

186

Translate

Translate

Report

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
Community Expert ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

Create two Character Formats, defined all As-Is or blank except for Font Family, for example:
Tagname: Webdings, Family: Webdings
Tagname: Kodzuka Gothic, Family: Kodzuka Gothic

Suppose the variable desired is the prohibited circle icon with a non-breaking space and text "STOP!"

Define your variable, named, say "Stop here"
Definition: <Webdings>x<Kodzuka Gothic>\ STOP!

There is no need to include <Default ¶ Font> at any point, because the <KG> tag completely replaces the action of the <Wd> tag and the end-of-variable turns off all Character Formats applied inside the var.

In the Unicode age, using Webdings (and codepage/overlay fonts generally) is discouraged if you have a font that populates the glyph you need. For this example, that would be
'PROHIBITED SIGN' (U+1F6C7).

If you are doing a workflow that for any reason fails to embed the Webdings font, such as to HTML, the glyph invoked may well show up as some nearly random Roman character ("x" in the case of the prohibit glyph).

Votes

Translate

Translate

Report

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 Employee ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

Yes, I would like to second that using a unicode glyph – if available in the font and if the look and feel of it fits the needs – is "smarter". Otherwise using two character styles (or just one for the "icon"if the paragraph's font is already Kodzuka Gothic) is the way to go.

In case Kodzuka Gothic is the paragraph font it would look like this:

<Webdings>x<Default ¶ Font>\ Stop!

Or just

<Webdings>x</>\ Stop!

Votes

Translate

Translate

Report

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
Community Beginner ,
Mar 23, 2017 Mar 23, 2017

Copy link to clipboard

Copied

LATEST

Very helpful, thank you!

Votes

Translate

Translate

Report

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