I have a few documents that have legal lines for 4 different countries (Japan, China, Macau, and Arabic) The legal line is composed for the most part of english and then the japanese characters, chinese characters etc. For example: chinese-characters TM and © My company. All rights reserved.
I have followed some tutorial for dual fonts using GREP styles. For each country, I’ve made 4 different character styles. Each with its own designated font. The text box on the document is linked to a paragraph style that contains the English font that I would like to use (Arial). I’m using unicode ranges for each language. For example, china CJK ranges is 4E00–9FD5
My GREP styles is as follows:
Apply Style: Macau
To Text: [\x{4E00}-\x{9FD5}\x{3000}-\x{303F}]+
Apply Style: China
To Text: [\x{3000}-\x{efff}\x{4E00}-\x{9FD5}\x{3300}-\x{33FF}][^.,;:?!\d]+
Apply Style: Japan
To Text: [\x{3040}-\x{309F}\x{30A0}-\x{30FF}\x{FF00}-\x{FFEF}\x{3000}-\x{303F}\x{4E00}-\x{9FD5}]+
Apply Style: Arabic
To Text:[\x{0600}-\x{06FF}\x{0750}-\x{077F}][^.,;:?!\d]+
The above GREP style works well for Japanese documents but it doesn’t work for the Chinese or Macau documents. If I change the order of the GREP styles in order for the Chinese or Macau files to work, then the japanese document stops working.
My dilemma is that I can’t have different documents for each country and load their own grep style since the documents share with each other contents.
I was wondering if there’s a specific GREP styles order that I should follow or am I missing something so fundamental for it work properly across all 4 languages.