Grep dual font

Learn / Forums / General InDesign Topics / Grep dual font

Tagged: , ,

Viewing 3 reply threads
  • Author
    Posts
    • #91844

      I have this text box with a GREP style where it finds chinese characters/words (inside an english document) and change them into its respective chinese font.

      If there are two chinese words, the space in between is my english font (arial). I was wondering if theres a way to have the spaces between the chinese words to be the chinese font?

      Any suggestions

    • #91847
      David Blatner
      Keymaster

      You might be able to use the the grep codes in this article, along with positive lookahead and positive lookbehind to do it:
      https://creativepro.com/search-for-foreign-language-characters-in-text.php

      Like, “find all spaces that have a Chinese character before and a Chinese character after”

    • #91866

      Have you investigated the Composite Font Editor in the ME and CJK versions of InDesign? That might save some time and GREPing in future.

      Chris.

    • #92007

      Thank you for both advice.

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
>