Consolas hyphen problem in PDFs

Here's the setup: FrameMaker 7.2, Windows XP, Acrobat Pro 8.1.3, although I think all versions are actually irrelevant to the issue.
I recently switched to Consolas font for my code listings.  But when Acrobat/Distiller converts the FrameMaker file to PDF, the hyphens end up with the wrong encoding.
It's definitely an Acrobat issue.  When I copy-paste from my FrameMaker source file to a text file, the consolas hyphen correctly shows as unicode 2D (decimal 45, the "hyphen minus" character).  But copy-pasting from the PDF ends up with the unicode 2010 character (the "hyphen" instead of the "hyphen minus" char).  And while they "look" the same, engineering readers need to be able to copy-paste from the PDF.
So, is there a patch or a way to tell Distiller to map this character as needed?
TIA,
-Monique

Please delete me from your mailing list.  Tks.
Date: Wed, 10 Feb 2010 10:54:49 -0700
From: [email protected]
To: [email protected]
Subject: Re: Consolas hyphen problem in PDFs
Exactly how are you converting to PDF. You say Acrobat/Distiller, but what are the steps you are taking. There are too many options not to isolate your process first. Are you printing to the Adobe PDF printer, exporting, or something else?
>

Similar Messages

  • Problem indexings hyphenized words in PDFs

    Hello everyone on this forum
    In the new site we are building, I am using Oracle Text to implement the search functionality.
    I have problems indexings hyphenized words in PDFs.
    The code I used to create the content table and the Oracle Text index, is like follows
    CREATE TABLE JMMC_TST_OracleText( article_id NUMBER PRIMARY KEY
    , desc VARCHAR2(30)
    , doc BLOB DEFAULT empty_blob()
    COMMIT ;
    I populated the doc column from a database column in our CMS, containing a PDF document. Just for testing, also populated it from a PDF file, using TOAD for Oracle 8.6.
    EXEC CTX_DDL.create_preference( 'jmmc_BSJC_lexer2', 'BASIC_LEXER' );
    EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'SKIPJOINS', '-' );
    EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'CONTINUATION', '-' );
    CREATE INDEX JMMC_TST_INDEX
    ON JMMC_TST_OracleText( doc )
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ( 'LEXER jmmc_BSJC_lexer2
    STOPLIST CTXSYS.EMPTY_STOPLIST' );
    COMMIT ;
    The following sql
    select ctx_report.describe_index('JMMC_TST_INDEX') from dual ;
    SELECT err_timestamp, err_text
    FROM ctx_user_index_errors
    ORDER BY err_timestamp DESC;
    shows that indexing went without errors, and index was correctly created.
    The word: processo
    (that in the PDF is hyphenized visually as
    ........... pro-
    cesso .....
    ) is indexed as 2 tokens instead of just one token, as the following sql shows
    select token_text
    from dr$JMMC_TST_INDEX$i
    where UPPER(token_text) = UPPER('CESSO')
    or UPPER(token_text) = UPPER('PRO') ;
    The following query returns 1 result
    SELECT SCORE(1), article_id , doc
    FROM JMMC_TST_OracleText
    WHERE CONTAINS( doc, 'pro cesso', 1) > 0 ;
    The following query returns 0 results
    SELECT SCORE(1), article_id , doc
    FROM JMMC_TST_OracleText
    WHERE CONTAINS( doc, 'processo', 1) > 0 ;
    Strange thing is, several months ago I tried this test with the same PDF, and everything went by without any problem.
    The tests were done on different machines, and on both occasions I used Oracle 10.1.0.5.0.
    Looks like I'm overlooking something or maybe some obscure setting (of DB, server or system) is causing the problem.
    Suddenly hyphenized words in PDFs, stopped being indexed correctly.
    Searched in the manuals and in this forum, and could not find a solution. Any help from anyone in this forum ?
    Thanks in advance.

    Hello everybody on this forum
    As the initiator of this thread, I am glad that after some months, someone else is looking at this issue.
    To add/clear to the confusion, I have followed Roger Ford suggestion.
    Here’s the test I ran
    1) Created a minimal test file (using Windows Notepad) with the following content:
    ABC-
    DEF
    Hex view of above file is:
    41 42 43 2D 0D 0A 44 45 46 00
    A B C - . . D E F .
    2) Created test table
    CREATE TABLE JMMC_TST_OracleText(
    article_id NUMBER PRIMARY KEY
    , fmt VARCHAR2(30)
    , doc BLOB DEFAULT empty_blob()
    The main difference to Roger Ford test case is: my content column is a BLOB instead of a VARCHAR2.
    The reason why my doc column is a BLOB, is because the site I’m building, content come from our CMS, and has different types both text and binary (eg Word, PDFs, etc), that I need to index together.
    So I use a mixed-content column in a materialized view, to prepare/consolidate/hold all contents I index.
    3) I inserted 1 row in above table (using TOAD for Oracle 8.6.), putting my minimal test file in the doc column.
    4) Create Preferences and Index
    EXEC CTX_DDL.create_preference( 'jmmc_BSJC_lexer2', 'BASIC_LEXER' );
    EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'SKIPJOINS', chr(45) );
    EXEC CTX_DDL.SET_ATTRIBUTE( 'jmmc_BSJC_lexer2', 'CONTINUATION', chr(45) );
    COMMIT;
    CREATE INDEX JMMC_TST_INDEX
    ON JMMC_TST_OracleText( doc )
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS ( 'LEXER jmmc_BSJC_lexer2
    FILTER CTXSYS.AUTO_FILTER
    STOPLIST CTXSYS.EMPTY_STOPLIST
    FORMAT COLUMN fmt' );
    COMMIT;
    Note: the basic lexer SKIPJOINS and CONTINUATION characters, were set the same as the hyphen character used in test file.
    5) Tokens indexed:
    select token_text from dr$JMMC_TST_INDEX$i
    Shows:
    ABC
    DEF
    6) Filter indexed content and generate a plaintext version:
    create table JMMC_filtertab (
    query_id number
    , document clob
    commit ;
    begin
    ctx_doc.filter( 'JMMC_TST_INDEX', '1', 'JMMC_filtertab', '11', TRUE);
    end;
    Hex view of plaintext version is:
    41 42 43 2D 20 20 44 45 46 00
    A B C - D E F .
    Note that the original end-of-line chars (0D 0A) were replaced by 2 SPACES.
    It looks like the filter replaces end-of-line chars by SPACES, and feeds the lexer, with something like:
    ABC- DEF (instead of: ABC-DEF) ;
    So the poor lexer, sees 2 tokens and has no clue they originally were only one hyphenised token.
    This is consistent with what Meta Link Note 124624.1 - Intermedia Text & Continuation Character ('-') in PDF says.
    7) Just for comparison the result of Roger Ford test (using a VARCHAR column instead of a BLOB) is:
    Hex view of the filtered plaintext version is:
    61 62 63 2D 0D 0A 64 65 66 00
    a b c - . . d e f .
    So the main difference seems to be different filtering behaviour for BLOB or VARCHAR columns, in dealing with end-of-line chars.
    I have also tried other combinations of INDEX/LEXER preferences (i.e. SKIPJOINS/CONTINUATION/FILTER/NEWLINE,etc), and different file types (WORD,PDF) which means I also tested with “true binary content” and different end-of-line chars.
    No matter what I tried, results were all the same: if I index a BLOB column, I’m not able to index hyphenized lines correctly.
    According to the manuals, the CTXSYS.AUTO_FILTER were supposed to deal correctly with mixed-content columns if given the correct information (ie FORMAT COLUMN)
    Hope this triggers a response from someone.
    Thanks to all the people that took time to look at this problem.

  • I am having a problem opening pdf document.  I get error message: "Adobe Reader has stopped working"

    I am having a problem opening pdf document.  I get error message: "Adobe Reader has stopped working" then I get Windows is looking on line for a solution, but then my document closes. I tried uninstalling and reinstalling Adobe Reader XI, rebooted my computer but this did not help.  I get the same message. What to do?

    Can you open Reader by itself?  If so, check if disabling Protected Mode improves the situation [Edit | Preferences | Security (Enhanced)].

  • Printing problem when PDF is sent to the printer with certain fonts - missing text

    I'm running into a printing problem when PDFs containing certain characters of the Calibri font are used.  The text in large sections of the PDF is missing on the paper version, but the text is there on the screen.  It's also happened when the PDFs we created were e-mailed out to a client and printed on their printer.  The problem is not present when printing directly from the programs (Microsoft Word, Excel, Visio, etc.).  I've been trying to get tech support from Adobe on this, but every time I call they apologize and say they will call back in 4-6 hours with an answer.  Same result each time, no call back.  If anyone from Adobe is listening, it's case number 184891587.  The font appears as an embedded subset when I look at the document properties.  Sometimes deleting one or two Characters allows for larger text blocks to be printed - i.e. removing a long dash in bold from the heading of a paragraph makes the paragraph reappear when printed to paper from PDF.  In all cases the PDF appears correct on the screen.  Printing as an image allows the text to appear, but the image quality isn't acceptable for small text, even at the 600 dpi setting on the printer.  If the PDF is sent out by e-mail, we do not have control over the end-user's printer setup anyway, so we need this to work in all cases.  
    The setup/process I'm using is as follows:
    Windows 7 Professional SP1 64-Bit
    Microsoft Office 2013 - problem is present when printing documents from Word, Excel or Visio.  Even other variations on documents. 
    I've tried Acrobat versions 11.0.0 to 11.0.5 as well as Acrobat Pro 11.0.0 and 11.0.1.  Same Result
    Printing to Adobe PDF as the printer, from the third party application
    Printing to a Xerox printer from PDF using Acrobat - Text missing
    Client prints to Konica printer - Text missing
    I print to the wide-format Ricoh (which also does 11x17) and the text is present. 
    Is there something I'm missing?  Is the entire font not getting embedded into the PDF file?  I noticed that rolling back to a much older version of the Calibri font (1.02 compared to 5.72) makes the problem mostly go away, but it's not completely gone.  Is it possible the font is too large to be completely embedded?  Where can I go from here? 

    Success!  At least for now.  It looks like my problem was fixed with Adobe's most recent update, 11.0.06.  From the release notes:
    PDF creation
    Added support for Lotus Notes 9.
    Added support for WebCapture in IE 11.
    Added support for conversions from AutoCAD 2013.
    3652540 A blank pdf is created for files having hidden visual style.
    3601108 Flow Chart converts as a multicolored square.
    3654345 Word documents missing parts of images in conversion to PDF.
    3654572 Temporary file size increases when creating pdf by combining multiple files into one PDF.
    3670155 PDF file created with Distiller XI prints incorrectly to some printers. (Emphasis mine)
    3599407 Checkbox check marks do not appear in these files.
    3663233 IE Web Capture in localized OS: Icons and drop-down menu items are missing and conversion dialog is not localized.
    3651931 Chrome Only: Few web pages when converted to pdf from Chrome plugin doesn’t show up the Save As dialog.
    3597910 EPM Mode On: Web capture is not working on Windows 8-32 bit when cache folder is missing.
    3610644 Firefox 23.0: With Firefox version 23.0 (latest), the WebCapture icon shows up very dim as if it is disabled.
    3650244 ODA falis to convert DWG files to PDF for large files.
    I don't know if that's definately what solved the problem, but it sure sounds similar and this is the update that made the printing problem go away.  We can't get the PDFs to fail at this point with our printers, even with Calibri 5.72.  I'll come back to thread if we have printing problems at the end-user locations. 

  • Problem with PDF extract in a report

    Hi guys,
    We are facing a peculiar problem with PDF extract in a report. When we run a report and export PDF , all the records in the result set are populated in the PDF. however, if I navigate away from the report and return back to the same report, and click on export pdf (with the result set already populated) i get a blank PDF document without any records. If i run the report again and then export the PDF it works fine.
    Export excel works fine for all cases.
    I am assuming it has got something to do with the way the system handles the cache for PDF export.
    I also found that this occurs only when we have a value list filter with "none" set as default,and in this case, initially on opening  the report for the first time the query does not get executed automatically.
    Any help on this would be highly appreciated.
    Thanks and Regards,
    immanuel

    Hi Immanuel,
    Have you tried clearing the cache? My guess is, it is probably a defect.
    Regards,
    Vikram

  • Problems opening PDFs from SharePoint 2010 with Acrobat X Pro

    Is anyone else having problems integrating pdf document support into Sharepoint 2010?
    I now have the icon showing for any pdf documents saved in a Document Lirary, However I don't get the options of Checking out - editing an checking in. There is also no revision control. I think that when I open a pdf document, the servers own copy of Adobe Reader opens, and not my local copy of Reader or Acrobat X pro.
    I've done what it says in the Administrators guide for Sharepoint integration and I'm still unable to get this functionality to work. As we use interactivve pdfs for a lot of our internal documentation the pdf integration features are very important.
    Any help from users who have already been through the pain of sharepoint integration would be really appreciated.
    Regards.

    Hi Bill,
    Looking at your initial problem of not being able to open the SharePoint hosted PDF document from the web browser.
    Could you please verify that as per the "Enterprise Administration Guide", the DocIcon.xml file of your server contains the following line:
    <Mapping Key="pdf" Value="AdobePDF.png" OpenControl="AdobeAcrobat.OpenDocuments"/>
    Please verify that the OpenControl attribute is also mentioned correctly. Without this the Acrobat Active X component would not be invoked.
    thanks,
    Shivani

  • Adobe Acrobat 9.4 Pro / Win7 Enterprise (64bit) - problem opening pdf

    Hello,
    i got problems opening pdf files.
    when i try to open the pdf file i get the message 'access denied'. That happens when i try to open it with a standard user.
    opening that file 'as administrator' works fine.
    I tried the Win7 compatibility check and Win7 tells me that Acrobat isn't compatibel. I tried to run acrobat.exe in different compatibilty modes (XP SP2/SP3, Win NT) -> no cure . Only thing working is to run Acrobat as administrator )

    You can try to enable Admin rights on your computer.
    In start menu use the search field, type in cmd once you see that  in your search result right click on cmd and Select "Run as Administrator".
    Once the Command Prompt open's type in.
    net user administrator /active:yes hit enter after typing it.
    You should the message "The command completed successfully."
    After you try this launch the software.

  • Adobe Acrobat Pro XI problems printing PDFs created from AutoCAD.

    Just installed Adobe Acrobat Pro XI and am having problems printing PDFs created from AutoCAD.  Printing other PDF created by MS Word works well.  Had a similar problem in an earlier version of Pro.  The fix I figure out then was to print the PDF file as another PDF.  Using the second PDF to print to a plotter typically worked.  It does not work for Adoabe Acrobat Pro XI.

    Hi presottom
    Please refer ; http://helpx.adobe.com/acrobat/kb/troubleshoot-pdf-printing-acrobat-reader.html
    or
    Let us know more details about it to help you better ?
    What is the OS ?
    is there any error message , etc .. ?

  • Having problems converting pdf to word. I'm not able to convert the file, what do I need to do?

    having problems converting pdf to word. I'm not able to convert the file, what do I need to do?

    Hi prates77,
    I'm sorry to hear that you're having trouble converting files. Are you receiving the conversion error regardless of the file that you try to convert? Does the error occur whether you use the web interface, or convert via Reader? And an odd question: how many files do you have stored in your Acrobat.com account? We have seen reports of this error when there are a large number of files stored in the root folder of your Acrobat.com account.
    I look forward to hearing back from you.
    Best,
    Sara

  • Since I downloaded Adobe Reader 11.0.07 I have been totally unable to print any PDF files using my Dell 1720 laser printer - I just get a blinking "error" light on the printer, no other error messages . I never had a problem printing PDF files before down

    Since I downloaded Adobe Reader 11.0.07 I have been totally unable to print any PDF files using my Dell 1720 laser printer - I just get a blinking "error" light on the printer, no other error messages . I never had a problem printing PDF files before downloading the new Reader version. Suggestions? Thank you.

    Hi,
    Which version of Adobe Reader were you using earlier when printing using Dell printed was working fine?
    Thanks,
    Shakti K

  • I am having a problem where pdf files on the web (i.e., links in a Word doc) open after an extended time and only as gobbldygook ( a file containing a series of characters and letters that make no sense).  This also happens for another Mac user coworker

    Hi There:  I am having a problem where pdf files on the web (i.e., links in a Word doc) open after an extended time and only as gobbldygook ( a file containing a series of characters and letters that make no sense).  This also happens for another Mac user coworker in my office, while the PCs don't have this problem...  Any help/suggestions for a fix would be most appreciated! 

    Just adding more info - MacBookPro running 10.5.8 and using Safari as the browser.  The problem comes and goes - sometimes the linked Word files will open OK, n others its just a strring of crazy characters... 

  • Adobe Reader 10.1.3 Performance Problems (Open PDF from Outlook)

    Hello all,
    Adobe Reader 10.1.3 Multi Language version was rolled out to several hundreds of Win XP SP3 client machines.
    Now users start reporting that Adobe Reader starts very slow. Most users complain that opening a PDF attached to an email in MS Outlook takes very long (10 sek up to several minutes).
    In some forums I found problems with PDFs in Outlook in versions before 10.1.1.
    Does anyone has an idea what causes this slow response?
    Is there anything we can test to come closer to the problem?
    Thanks for help.

    I do not have this problem with Reader 10.1.6 or 11.0.2 on Outlook 2007.
    WhatI would do if I encountered such a problem: observe the process with Process Monitor.  This could give me some clues what is going on, compared to an earlier Reader version that did not cause this problem.

  • Problems opening PDFs in Firefox.

    I have a problem opening PDFs. Here's the deal. For my website, I have XEA based Adobe forms. Per http://helpx.adobe.com/livecycle/kb/xfa-forms-firefox-chrome.html I set PDFs to Use Adobe Acrobat in Firefox.....and that works great.
    BUT when I have Use Adobe Acrobat in Firefox, I then cannot open other PDF links on any other site. Instead I get the dreaded SAVE AS diaglogue box so I have to download the PDF file and then open it.
    If I try to switch PDFs to Use Adobe Acrobat (rather than Use Adobe Acrobat in Firefox) then I cannot open my XEA based Adobe forms. So I have to keep PDFs to Use Adobe Acrobat in Firefox for my XEA web-based forms, but that prevents me from opening any other PDFs online (since I have to save the other PDFs rather than opening them).
    How do I solve this problem so I can open other PDFs online (without saving) and yet still be able to use my XEA based Adobe Forms by Use Adobe Acrobat in Firefox?
    Thanks,
    Steve

    Hi karenwfrazier,
    Try [http://support.mozilla.org/en-US/kb/view-pdf-files-firefox-without-downloading-them#w_reset-download-actions Reset download actions] and check it again.
    If the above did not solve the issue try [https://support.mozilla.org/en-US/kb/troubleshoot-issues-with-plugins-fix-problems#w_re-initializing-the-plugins-database Re-initializing the plugins database] .
    see also : [http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html Can't view PDF on the web]
    thank you

  • How to remove Soft hyphens in text PDF?

    Currently am working on the text validation for ebooks using PDF compare process. And am able to fetch errors along with false positive issues in final compare report.
    To ignore the false positive errors, i need to delete the soft hyphen in source PDF. Could any one please guide us on this.

    There is no such thing as a soft hyphen in a PDF (except where it is tagged). There are hyphen characters, but the information on them is purely visual. No design-time decisions such as soft vs. hard remain, just as they do not remain on a sheet of paper.

  • Layout problem in PDF conversion

    Hi all,
    i am downloading spool data using the function module CONVERT_ABAPSPOOLJOB_2_PDF. But i am facing layout problem. e.g. RFBILA00(financial statement generation program) has written balancesheet data to the spool. This spool data has some 6 columns. but CONVERT_ABAPSPOOLJOB_2_PDF is writing only first 3 columns to the generated PDF file. i used 'GET_PRINT_PARAMETERS' function module also with values like layout as 'X_65_132' and 'X_90_120'. but no success. if anybody knows the answer, please let me know.
    Thanks in advance,
    Naveen

    Hi All,
    i am following the below approach to download the information from spool.
    program/spool output is an ALV List output data having 8 columns. but below approach is converting only first 5 columns in to PDF format. other 3 columns are getting truncated.
    FUNCTION /ngl/download_spoolinfo_as_pdf.
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(I_SPOOL_REQUEST) LIKE  TSP01-RQIDENT
    *"     REFERENCE(I_FILENAME) LIKE  RLGRAP-FILENAME
    *"  EXCEPTIONS
    *"      DOWNLOAD_ERROR
      TABLES tsp01.
      DATA: mtab_pdf LIKE tline OCCURS 0 WITH HEADER LINE,
            mc_filename LIKE rlgrap-filename.
      DATA: mstr_print_parms LIKE pri_params,
            mc_valid(1) TYPE c,
            mi_bytecount TYPE i.
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          copies                 = '1'
          cover_page             = space
          destination            = 'locl'
          expiration             = '1'
          immediately            = space
          mode                   = space
          new_list_id            = 'X'
          no_dialog              = 'X'
          user                   = sy-uname
          line_size              = 200
          line_count             = 65
         layout                 = 'X_65_200'
          layout                 = 'X_90_120'
          sap_cover_page         = 'X'
        IMPORTING
          out_parameters         = mstr_print_parms
          valid                  = mc_valid
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      IF sy-subrc EQ 0.
        CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
          EXPORTING
            src_spoolid              = i_spool_request
            no_dialog                = 'X'
            dst_device               = mstr_print_parms-pdest
          IMPORTING
            pdf_bytecount            = mi_bytecount
          TABLES
            pdf                      = mtab_pdf
          EXCEPTIONS
            err_no_abap_spooljob     = 1
            err_no_spooljob          = 2
            err_no_permission        = 3
            err_conv_not_possible    = 4
            err_bad_destdevice       = 5
            user_cancelled           = 6
            err_spoolerror           = 7
            err_temseerror           = 8
            err_btcjob_open_failed   = 9
            err_btcjob_submit_failed = 10
            err_btcjob_close_failed  = 11
            OTHERS                   = 12.
        IF sy-subrc EQ 0.
          mc_filename = i_filename.
          DATA: lv_filename TYPE string.
          lv_filename = i_filename.
          CALL FUNCTION 'GUI_DOWNLOAD'
            EXPORTING
              bin_filesize = mi_bytecount
              filename     = lv_filename
              filetype     = 'BIN'
            TABLES
              data_tab     = mtab_pdf
            EXCEPTIONS
              OTHERS       = 22.
          IF sy-subrc EQ 0.
            WRITE:/ mc_filename, 'CONVERTED TO PDF AND DOWNLOADED'.
          ELSE.
            WRITE:/ 'PROBLEM WITH DOWNLOAD'.
            RAISE download_error.
          ENDIF.
        ELSE.
          WRITE:/ 'PROBLEM WITH PDF CONVERSION'.
          RAISE download_error.
        ENDIF.
      ELSE.
        WRITE:/ 'PROBLEM GETTING PRINT PARAMETERS'.
        RAISE download_error.
      ENDIF.
    ENDFUNCTION.

Maybe you are looking for