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

non-breaking hyphen not displayed correctly

New Here ,
Jan 22, 2009 Jan 22, 2009
The non-breaking hyphen (\u2011, &#8209) is not displayed correctly - the wrong glyph is shown.

To reproduce, do the following:
1. Start the TLF demo editor http://labs.adobe.com/technologies/textlayout/demos/
2. Import the markup below

Results:
- Line wrapping is correct: no line break at the hyphen
- Times New Roman on Windows does have the glyph defined - it should look like an ordinary hyphen.

This was seen in Build 3291.

Cheers
David


Markup:
<?xml version="1.0" encoding="utf-8"?>
<flow:TextFlow whiteSpaceCollapse="preserve" xmlns:flow=" http://ns.adobe.com/textLayout/2008"><flow:p marginRight="5"><flow:span fontSize="60">
2011 non-breaking hyphen Macro‑media
</flow:span></flow:p></flow:TextFlow>
TOPICS
Text layout framework
7.0K
Translate
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

correct answers 1 Correct answer

Community Beginner , Jan 28, 2009 Jan 28, 2009
Hi Chris,

you're right, Times New Roman does not contain the glyph. I was seeing 2013 whlie I type 2011 -- my mistake, sorry.

However, it's a pity non of the OTFs implement this glyph (also Myriad Pro doesn't, for instance). Open Office 3 seems to replace it by a hypen (which is greyed), and InDesign CS4 also seems to replace the character and does no word-wrap at this position.

Of course it would be very convenient if Flash could handle it the same way..

Btw, character map is the same as m...
Translate
New Here ,
Jan 23, 2009 Jan 23, 2009
Hi David -

When I paste your markup into Notepad, I see the same box for the hyphen that I see when viewing it in the TLF demo editor. Are you saying that you see the hyphen display in other Windows apps but not TLF?

Thanks,
-Chris
Translate
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 ,
Jan 26, 2009 Jan 26, 2009
Hi Chris,

yeah, that's it exactly. When I paste it in word, I see the dash. E.g. try it in Times New Roman. This font contains the glyph (enter 2011 in the Windows chart table application).

David
Translate
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
New Here ,
Jan 26, 2009 Jan 26, 2009
Strange, my copy of Times New Roman does not contain the glyph. I don't have the chart table application, but I looked in Character Map, and there's nothing between U+200F and U+2013 in Times New Roman. I'm on Windows XP Service Pack 2. I wonder if some apps are using font substitution to find that glyph in another font, or if there is more than one version of Times New Roman?
Translate
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 ,
Jan 28, 2009 Jan 28, 2009
Hi Chris,

you're right, Times New Roman does not contain the glyph. I was seeing 2013 whlie I type 2011 -- my mistake, sorry.

However, it's a pity non of the OTFs implement this glyph (also Myriad Pro doesn't, for instance). Open Office 3 seems to replace it by a hypen (which is greyed), and InDesign CS4 also seems to replace the character and does no word-wrap at this position.

Of course it would be very convenient if Flash could handle it the same way..

Btw, character map is the same as my "chart table application", at least it's my translation from the German "Zeichentabelle". :-)

So, sorry again for the confusion...

david
Translate
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
New Here ,
Jan 29, 2009 Jan 29, 2009
Thanks for the clarification, David.

I think the general request of "glyph substitution" within a font in cases like this is a good one. Many Windows applications do not do any kind of substitution whatsoever (Notepad is one example), but as you point out, Word and InDesign do use the hyphen glyph when a non-breaking hyphen is undefined (and presumably they have a table of acceptable substitutions, not just this one). I think this is a reasonable feature request either for TLF or the underlying flash.text.engine that powers it. I can't promise anything, but I'll take this request back to the team.

Thanks!
-Chris
Translate
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 ,
Dec 29, 2009 Dec 29, 2009

FYI: I was just testing the use of the nonbreaking hyphens and it turns out nonbreaking hyphens are showing correct now in the beta 10.1 player.

Tested with debug player, version: WIN 10,1,51,6

- Benny

Translate
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
New Here ,
Jan 25, 2010 Jan 25, 2010

I am still not seeing this working for Times New Roman.  When I insert a non-breaking hyphen it just insert the square character that indicates the symbol wasn't found. 

Is there any time frame for this functionality yet?

Thanks

Joel

Translate
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 ,
Jan 28, 2010 Jan 28, 2010

Can you tell me what version of the Player you are using on what platform?

Thanks,

- robin

Translate
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
New Here ,
Feb 01, 2010 Feb 01, 2010

I am using:

Windows 7

Firefox

Flash Player 10,0,32,18

Translate
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 ,
Feb 01, 2010 Feb 01, 2010

Can you try this with the beta Player of 10.1? You will find it at:

http://labs.adobe.com/technologies/flashplayer10/

It fixes some problems related to hyphens, can you check and see if your problem happens with the new Player?

Thanks,

- robin

Translate
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
New Here ,
Feb 02, 2010 Feb 02, 2010

After upgrading to 10.1 non-breaking hyphens are now working!

Is there any effort going toward getting it working in 10.0 or will we just need to have all of our users upgrade to 10.1 when it is officially released?

Thanks

Translate
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 ,
Feb 02, 2010 Feb 02, 2010
LATEST

Users will have to upgrade. But folks usually do this pretty quickly after a release.

- robin

Translate
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
New Here ,
Jul 20, 2009 Jul 20, 2009

I was going through the same problem. Thanks for sharing and helping out.

Cheers,

Adam@pheromones.com

Translate
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