Heading Line Wrap Occurs After First Letter of Last Word

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
super-structure
Propeller Head
Posts: 19
Joined: Wed Mar 26, 2008 11:19 am
Location: Franklin, TN
Contact:

Heading Line Wrap Occurs After First Letter of Last Word

Post by super-structure »

This one has stumped me and I haven't found anything else in the Forums so far.
In at least two places in a single .PDF output, headings are breaking in the middle of a word, immediately after the first letter of the word. Both of these heading classes have the mc-hyphenate set to Never for the Medium: print. The preview of the .PDF printed out also shows these breaks. I have checked the Hyphenation window and

H1 breaks How-Tos, not at the hyphen but after the T? Note that there is not a space character between the hyphen and the T
Image
Note that there is not a space character between the hyphen and the T:

Code: Select all

<h1 class="SectionTitle"><span class="Chapter_No" MadCap:conditions="Primary.Print">Chapter 7 </span>
            <br />Procedures and How-Tos</h1>
H2 breaks Environment after the E
Image
The markup is pretty straight-forward here, too:

Code: Select all

<h2 class="left">A Tour of the <MadCap:variable name="Primary.ProductName" /> Environment</h2>
As I haven't found anything else on this issue so far, I'm submitting it as a bug. However, I'd wanted to post here as well in the event that this is already a know issue. As a technical writer, it would be a bit pretentious of me to underestimate my own inability to use software or even a forum search. :wink:
-Jason Coleman, P.E.

Sr. Manager Technical Content
Bentley Systems, Inc.
SteveS
Senior Propellus Maximus
Posts: 2089
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Heading Line Wrap Occurs After First Letter of Last Word

Post by SteveS »

Hi, and welcome to the forums!

I notice that you are using small caps for your H1 and H2 styles. Have you tried using a standard font to see if that is causing the return occuring mid word? If so you can confirm a bug. :?
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
super-structure
Propeller Head
Posts: 19
Joined: Wed Mar 26, 2008 11:19 am
Location: Franklin, TN
Contact:

Re: Heading Line Wrap Occurs After First Letter of Last Word

Post by super-structure »

Thanks, Steve. I've been lurking here for a while. Fortunately, most all my issues have been solved before I needed to post anything.

Your observation is a good one, as setting the font-variant to Normal does result in the expected behavior (that is, a break before the word rather than after the first letter). Changing the style back again to small-caps reproduces the issue. I do feel that this is a bug as I would still expect the word to not break on the line break even with the font-variant set to small-caps.

And, further, I don't argue that lowercase even does not look better. But my company has some preferred standards for documentation and small-caps in certain headings is one of them.
-Jason Coleman, P.E.

Sr. Manager Technical Content
Bentley Systems, Inc.
SteveS
Senior Propellus Maximus
Posts: 2089
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Heading Line Wrap Occurs After First Letter of Last Word

Post by SteveS »

No worries, Jason.

I actually like small caps! In headings, at least...

It was the logical person in me that wondered if that was the issue, and it should help the programmers at Madcap to come up with a fix if you can nail the problem (as you have).

I guess we now wait ith bated breath for the fix :shock:
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Heading Line Wrap Occurs After First Letter of Last Word

Post by KevinDAmery »

In case you need it, here is where you can submit a bug report:
http://www.madcapsoftware.com/bugs/submit.aspx
Until next time....
Image
Kevin Amery
Certified MAD for Flare
Post Reply