Fontnames in Tagged Text

Ask a Question related to Adobe Indesign Windows, Design and Development.

  1. #1

    Default Fontnames in Tagged Text

    Hello,

    I work with InDesign CS (3.01) on a Win 2000 (SP 4) System.
    I use tagged text to create documents to show and test the fonts of our library (a few 1000 in various formats). The tagged text files are created by a database driven (python) script.

    In general this all works fine, but in some cases i have problems to to calculate the 'cFont' and 'cTypeface' tag to address a specific font e.g. have a font (Type1 pfb) with the FontFullName 'MetaBoldLf-Caps' in this case i have to set the cFont-tag to 'Meta Bold Lf' and the cTypeface-tag to 'Capitals' (same as in the ID font-menu). This means that i have to use strings for the tags which can not be found in the font (and in my database also).

    My question is: is there any documentation available on how the 'cFont' and 'cTypeface' tag must be calculated from the strings i find in a font (fontname, fullname, familyname, stylename etc.)?

    Thanx
    Eigi
    Andreas_Eigendorf@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Tagged Text Files not working
      Is there a reason that I have to use an exported tagged text file to make another one? In other words, if I try to manually add: <ASCII-MAC>...
    2. InDesign CS Tagged Text same for Mac and PC?
      Hello InDesign experts! I have only a few months of experience with InDesign (PC version). I have built a system that exports data from a...
    3. IDCS: Importing tagged text
      I'm trying to import some text generated by a database. I have specified InDesign Tagged Text as my format. I have predefined the referenced styles...
    4. Tagged text crashes
      In a calendar document I am creating, I did one page and exported it as tagged text. I copied all the tags on to the new files and tried to import it...
    5. special characters in tagged text
      hello, i'm new to indesign (long time ventura user but couldn't stand stability issues no more) and i need some info about special characters...
  3. #2

    Default Re: Fontnames in Tagged Text

    Hi Eigi--

    The best way to find out what InDesign expects for a particular font family/font style name is to:

    1. Create a text frame containing some example text.

    2. Format the text with the font or fonts you're curious about.

    3. Select the text and export as tagged text.

    4. Open the tagged text file with a text editor (Notepad will do nicely) and look at the font name tags.

    It can be very difficult to figure out what the font name/font style name are from looking at the user interface in InDesign.

    Thanks,

    Ole
    Olav_Kvern@adobeforums.com Guest

  4. #3

    Default Re: Fontnames in Tagged Text

    Hi Olav,

    Thanks for your quick reply.

    The way you describe works fine. My problem is the amount of fonts. I have to do it for more than 12000.

    Therefore i try to rebuild the algorithm which translates the name-strings in a font to the fontnames used by InDesign.

    My script works fine for a lot of fonts, but there are a lot of exceptions i don't understand.

    So i hope Adobe will disclose the algorithm used by InDesign.

    Regards

    Eigi
    Andreas_Eigendorf@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139