Issue 55680

Summary: Japanese default font names for Windows in VCL.xcu
Product: gsl Reporter: htanaka <htanaka>
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, masaya.k, tora3, y-catch, yossy_takeuchi
Version: OOo 2.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on: 62174    
Issue Blocks:    
Attachments:
Description Flags
VCL self fixed version none

Description htanaka 2005-10-09 10:57:23 UTC
Valid Japanese font names for
MS Gothic
MS Mincho
MS PGothic
MS PMincho
are not available in file share\registry\data\org\openoffice\VCL.xcu
Their alphabetical part and space must be Zenkaku characters.

bad exsample : MS ゴシック
good exsample: MS ゴシック
Comment 1 htanaka 2005-10-09 11:01:37 UTC
Created attachment 30244 [details]
VCL self fixed version
Comment 2 htanaka 2005-10-11 15:34:53 UTC
A white-space in font name is not Zenkaku(Multibyte) character.
Alphabet in font name is Zenkaku(Multibyte) character.
Comment 3 htanaka 2005-10-11 15:35:18 UTC
A white-space in font name is not Zenkaku(Multibyte) character.
Alphabet in font name is Zenkaku(Multibyte) character.
Comment 4 tora3 2005-10-12 19:34:13 UTC
Hi htanaka,

Thank you for filing an issue.

Could you explain your problem a little bit more?
This issue looks like issue 30429. See its snapshot.
Do you have the same problem?

Tora
Comment 5 htanaka 2005-10-13 06:03:32 UTC
The issue 30429 is not still closed completely.Not only "kochgothic" but also 
another fonts has same problem.

Japanese character-set has 2 way alphabet(regexp:[A-Za-z]) encodings.
1.ASCII compatible singlebyte encoding (narrowly displayed)
2.ASCII incompatible doublebyte encoding (widely displayed)

Japanese Windows uses doublebyte alpabet encoding for OS standerd fonts,
but VCL is written in singlebyte version for standerd fonts in locale "ja".

See this page with Japanese fonts.
Find below tokens and replace:
MS ゴシック ---> MS ゴシック
MS P ゴシック ---> MS Pゴシック
MS æ˜Žæœ ---> ï¼­ï¼³ 明æœ
MS P æ˜Žæœ ---> ï¼­ï¼³ P明æœ
MSゴシック ---> MS ゴシック
MSPゴシック ---> MS Pゴシック
ï¼­ï¼³æ˜Žæœ ---> ï¼­ï¼³ 明æœ
ï¼­ï¼³ï¼°æ˜Žæœ ---> ï¼­ï¼³ P明æœ
Comment 6 tora3 2005-10-14 21:44:12 UTC
htanaka: Thanks, now i understand the problem with you.

Problem
  The current default font name, for example, in Writer Japanese 
  defined in VCL.xcu is MS P æ˜Žæœ that does not match the actual
  font name defined in the font file msmincho.ttc which names 
  itself ï¼­ï¼³ P明æœ.

Reproduce
  1. Run OOo/SS Writer Japanese on Microsoft Windows Japanese.
  2. Confirm that a font name combo box in the tool bar shows 
     MS P 明æœ
  3. Click a right button on your mouse to get a context menu.
  4. Go to the sub menu Font.
  5. Try to find a check mark in the list of font names installed 
     in the Windows system.

     You can not find any check mark in the list.

  6. Replace MS P æ˜Žæœ with ï¼­ï¼³ ï¼°æ˜Žæœ in the font name combo box.
  7. Do the same as step 5.

     Now you can find a check mark in font of ï¼­ï¼³ P明æœ.

Notes
  Be aware of the space letter between ï¼­ï¼³ and P明æœ. It is u0020, 
  a space letter in ASCII, not an ideograph space u3000.

  For Unicode encoding, see 
  http://www.unicode.org/Public/UNIDATA/NamesList.txt

  Changed the summary field.
  Forwarded to gsl.
Comment 7 tora3 2005-10-15 20:12:06 UTC
Researching commonly used font files has just started.
Please wait making modifications into VCL.xcu until the research is 
finished.

Please assign this issue to Tora temporally.

Thanks,
Tora
Comment 8 tora3 2005-10-15 20:13:17 UTC
Assign to Tora temporally.
Comment 9 htanaka 2005-10-16 16:58:59 UTC
Thanks.
I wish that your researching is in time formal release of version 2.0.
Comment 10 Marcus 2017-05-20 11:31:12 UTC
Reset assigne to the default "issues@openoffice.apache.org".