TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Re: consolas font's hyphen - causing odd copy/paste result from PDF (from FrameMaker)
Subject:Re: consolas font's hyphen - causing odd copy/paste result from PDF (from FrameMaker) From:Gary Schnabl <gSchnabl -at- LivernoisYards -dot- com> To:techwr-l -at- lists -dot- techwr-l -dot- com Date:Mon, 14 Dec 2009 20:50:48 -0500
On 12/14/2009 5:05 PM, Monique Semp wrote:
> Has anyone run across this issue: in PDFs created from my FrameMaker files, the hyphen character in my code lines, which use the consolas font, look just fine, but when they're copied-and-pasted into a text editor (which is what the developers will do), the hyphens end up as some sort of special character.
>
> I haven't figured out what the character is yet, but it shows up as the usual box symbol. I've just started googling, and think this is probably related to some unicode issue. And I found that there are several sorts of hyphens in the unicode characters supported by the Consolas font (http://www.fileformat.info/info/unicode/font/consolas/list.htm). But I'm not sure yet how to fix things.
>
> When I copy-paste from the FrameMaker doc, things are just fine. So it's definitely something in the PDF distillation process that's causing the issue. And when I change just the hyphen character to the more usual Courier font, the PDF is fine (meaning that one can copy/paste the hyphen just fine).
>
> Any ideas before I delve deeply into the Acrobat Unicode character support?
>
> -Monique
Perhaps, you might want to try Inconsolata
(http://www.levien.com/type/myfonts/inconsolata.html) or its variants
instead of Consolas. One thing I noticed with Inconsolata is that it
does not seem to darken when bolded when viewed on a display. Perhaps,
it bolds when printed? In a recent 500+ A4 page print book (on Cisco
CCNA), I used Inconsolata-dz
<http://nodnod.net/2009/feb/12/adding-straight-single-and-double-quotes-inconsola/>
and used a bold Courier New character tag for when the author desired a
bold monospace within an Inconsolata-dz paragraph.
Gary
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Are you looking for one documentation tool that does it all? Author,
build, test, and publish your Help files with just one easy-to-use tool.
Try the latest Doc-To-Help 2009 v3 risk-free for 30-days at: http://www.doctohelp.com/
Help & Manual 5: The all-in-one help authoring tool. True single- sourcing --
generate 8 different formats and as many different versions as you need
from just one project. Fast and intuitive. http://www.helpandmanual.com/
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-