PDF creation with subscripts yields terrible results
I have a document with several chemical formulae and when I create a pdf, the quality is absolutely terrible.
Is there a fix for this, or am I doing something incorrectly?
I have to apply all the substitutions manually to create the non-fake subscripts?
The idea in the Unicode and TrueType project is that you keep your plain text plain. If you keep your plain text plain, content-based operations like searching, spell-cheching and sorting are not corrupted, no matter how complex the composition is. In other words, you insert a firewall between your character codes (the content) and your glyph codes (the appearance).
Now, this won't work if you do not have a graphical desktop display and a graphic deskside printer. In other words, it won't work in the world of the nineteen-eighties. Fortunately, this is not the world in which we are working. Separate processing of character codes and glyph codes was first discussed at the WWDC in May 1989, and first demonstrated it at WWDC 1992 with Apple Hoefler Text, by the way. It has been in the OS since System 7.5 in August 1994.
So, you use the GUI. You use Unicode / ISO-IEC 10646 as the space within which you code your text. And you use the simple glyph substitution of base TrueType and the smart glyph substitution and smart glyph shaping of advanced TrueType to get the appearance you want. Or in other words, you use Unicode to match the meaning and TrueType to match the mark.
With a document window open and the cursor in the column, you specify the style for simple glyph shaping by selecting any TrueType/OpenType font. Inside the font there is an obligatory table, the CMAP Character Map. This table defines the character codes that the font is able to image, and the default glyph codes with which those character codes are imaged in that specific font.
With your Typography Palette open, you can see if the font only has obligatory Character Map shaping to default appearances, in which case it says "No typographic features in this font," or there are substitutions for smart shaping and smart scaling. For instance, if you select Hoefler Text you will find that there are smart substitutions for superiors (superscripts) and inferiors (subscripts).
If you want to see the glyph codes and corresponding glyph drawings in an intelligent font file, then you open the Apple Character Palette, from the View menu you select Glyph, from the Font menu you select the family name e.g. Hoefler Text, and from the style menu you select the family member. Take the time to move your cursor over the glyph drawings.
In the co-ordinate system, e.g. click glyph code 801. You will see a popup that says GID 801, that is, glyph identifier 801. The glyph identifiers (glyph codes) are private to and specific to the font file. They are not cross-font. There is no corresponding character code! Is this a bug in the font? No, it is as designed, because you do not draw ligature long s, long s, and l as a character code.
The font only draws default glyph codes by depicting them directly onto character codes. If the type designer wants alternate stylistic appearances for the default glyph codes and their glyph drawings, she uses the smart substitution support. The smart substitution support takes the output of the obligatory CMAP Character Map transform, which is default glyph codes, and remaps that to alternate glyph codes for alternate glyph design appearances.
This means that the vast majority of glyph codes in a font file may be drawn by depiction onto other glyph codes and not onto character codes. For instance, try counting the number of glyph codes in Apple Hoefler Text or in Linotype Zapfino that are not directly depicted onto character codes. So, you can have perfect legibility at the level of appearance, and your character codes can be perfectly plant at the level of content. This has been possible since System 7.5 in 1994.
What you cannot have today is searchable softcopy. Because the meaning of the glyph designs is in the indices of the intelligent font, and those indices are not supported at all in PostScript, and are not supported in PDF until versions higher than 1.3 which is the PDF version supported by OS X. These problems have existed for many, many years. PostScript does not support the intelligent separation model of the International Color Consortium, just as it does not support the intelligent composition model of the Unicode Consortium.
/hh
Similar Messages
-
PDF Creation with data from SAP system
Hi All,
I need to generate a PDF file using Adobe Document Service. The content of the PDF can be from any datasource (Oracle/ BW/ R3 ), So I require Webdynpro code for pdf creation with data from any of the systemHi Deepak,
Before starting the code just like that,make sure u have configured all services in Visual Administrator.
U can refer this:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/5a08cd0e274a0bae559622d6670722/frameset.htm">Configuration Guide</a>
regards
Sumit -
Hello,
Has someone use jsPDF ( http://parall.ax/products/jspdf ) to create pdf from animate?
I have project where can select images and want the user to create a pdf file for printing with his configurations.
If someone has another suggestion, welcome.Hi Deepak,
Before starting the code just like that,make sure u have configured all services in Visual Administrator.
U can refer this:
<a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/95/5a08cd0e274a0bae559622d6670722/frameset.htm">Configuration Guide</a>
regards
Sumit -
Setup reports for pdf creation with company logo and printing without
Hi,
we want to have 2 different report-layouts.
The first one is just for printing on company paper. So it doesn't need a logo.
The second one is for exporting to PDF file. So it needs a logo.
How can I realise it in SAP BO 2007 without changing the standard layout everytime?Meike,
If sending out pdf's vs printed doc's depends on BP or user, you can play with setting up the default layout for specific users or BP's, otherwise you need to change the default one all the time.
Regards,
Nat -
PDf creation with Acrobat 10 freezes my Win7-64b system
Acrobat 10.1.3 reliably freezes (every day or so) my fully-patched Win7-64b system when creating pdf from MS Office 2003 or Word Perfect X5. Acrobat can be killed from TaskBar (often - be patient for the response) or via Task Manager (usually); sometimes it takes a hard reset. This thread (http://forums.adobe.com/thread/850202?start=0&tstart=0) shows the same topic; is there a solution?
"Acrobat 10.1.3 reliably freezes (every day or so) my fully-patched Win7-64b"
That's how I ended up here. I just upgraded an accounting firm with new computers, i7, 8 GB, Windows 7 64 Ultimate, Office 2010 Small Business, and Acrobat 10 Standard. More than once a day, when they go to print, Acrobat hangs. I have laptops there and elsewhere with i7, 8 GB, Windows 7 Professional 64b, Office 2010 Small Business, running Acrobat 9 Standard, and it has no problem. Their previous machines with Core 2 duos, 1 GB, XP Pro, Office 2003 Small Business, and Acrobat 9 Standard, and had no problems. The desktops and laptops are using different Anti-Virus programs. That pretty much draws the circle around Acrobat 10 as being the source of the problem, on not something system or user specific. -
Latvian Language support for generated PDF's with FPDF module for PHP
Hello !
I have a problem with Adobe Reader for Android. I am working with online PDF creation with PHP module named FPDF.
With FPDF module for PHP you can create PDF's online.
The problem is that - when generated PDF appears on phone it doesn't show Latvian language ( cp1257 or ISO-8859-13 for example ). For example - "ŗķļņž" and "ŖĶĻŅŽ" is shown with other symbols.
However opening the same file with standart app "Polaris Office" - the text is show as it used to be, without problem.
Strange bug, that i can't fix from PHP ( Tried a lot of decodes and encodes ). Also i have saved PHP file with different encodings - nothing helped.You might ask about this in the regular forum. There are several form experts there that may be able to help you.
-
An attempt to open a pdf file with Photoshop Elements (version 12) resulted in a pop generated by the Photoshop Editor stated "Impossible to execute this operation (opening file) because one of the specified colour is not managed". Is there any mean to adapt the file to make its reading possible?
Did somebody get the same problem?It is a high order probability that your SQL's report generator is creating the PDF, not Acrobat (which by design and EULA cannot be used in as/with server).
That the report generator outputs to an old-old version of PDF bears this out.
Wiki articles on PDF are very nice for those high level intro summaries.
To know / understand PDF you purchase and study the ISO Standard for PDF (ISO 32000-1:2008).
Rather than "PDF validation" you may want to consider addressing the appearent root cause of the problem(s).
You can change the email2fax application to one that can deal with older PDF versions.
You can change the report generator to one that can output to the ISO Standard.
(Perhaps the in-use application can be configured to output to the current version of PDF (i.e., the ISO Standard).
Be well... -
All of a sudden can't receive email on Mail client. Sessions with service provider (att/yahoo) and Apple have yielded no results! Recently upgraded to Lion, but have received email since. Anyone having the same problem. Apple says service provider problem, service provider say it's the mail client. Anyone had this problem???
No. My frustration with the problem just led me to begin the process convert all my email to a gmail client. However, after some time all my mail with att/yahoo has been coming through as before. Go figure. Still will convert to gmail.
-
How can I make a pdf book (single pdf file with several pages) with "camera to pdf" option on phone? I can only convert one pic at a time. ( Or )how can I attach all those pictures converted pdf's into one pdf file which obviously results in to a single pdf file with several pages in it ?
Adobe Reader on the iPhone is a PDF reading app. It's not a creation app.
You need to get an app like Pages which is intended for page layout. It can place pictures from the phone and export PDF. -
Hyperlinks in InDesign and Exported to PDF Open with %%%
Hi,
I am working on a document for our intranet. I have created a link inside of the InDesign document for a document that is accessible on our network:
K:\Master Documents\O & M's\(ID) Files\O&M Static Files for Booking\2-2_Troubleshooting.pdf
When I PDF my document, save it to the intranet location, and then try to launch the link, the following dialogue box opens
What is up with all of the % signs? And how do I get the lnk to actually work properly?
Thanks!Hi Michael, I did take out all special characters, there were underscores anyway not spaces :=} no ampersands, or anything like that.
I have InDesign version 6 and Windows 7, I also upgraded to Adobe Reader 9.2, but I think that has nothing to do with the export functions of InDesign. I was thinking I would try and reset the preferences back to default, see if that helps. Perhaps I ought to also try and install an updated Adobe Acrobat version?
What's weird is that there are hyperlinks to URLs via http:// all over the document, that work fine. Its the file:// prefix that is not resolving at all. I even tried to select URL and then type with forward slashes file://server/folder/folder yet that didn't yield any result -- actually InDesign changed the classification of the hyperlink from URL back to file. When I repro, sometimes I get a dialog that says the file is not available, sometimes I get no response from the system, meanwhile the tooltip displays the correct file path. It might be that Windows 7 which recently applied updates to my computer (it a work computer so my IT dept is the owner of updates) is doing something odd due to firewalls or something. I am going to check into this on Monday.
Cheers,
Amy -
So I joined an adobe subscription to be able to convert PDFs to editable versions but none of that is happening both in my IPad and Mac Air.... :-/ what are subscriptions really for then?...
First of all, you do not have to subscribe to Acrobat.com, Adobe ExportPDF, and/or Adobe PDFPack, if you do not want to. You can still view PDF documents, add annotations (e.g. sticky notes, highlight, underline), fill in forms, and use other features for free without paying for subscriptions.
You will get extra features with subscriptions.
Acrobat.com
You can create a free account to store/backup your files in the cloud and share files with others. (Please note that 'sharing' does not mean that your files are posted in public for everyone to see. You can control who to share your files with.)
Adobe ExportPDF
Once you convert PDFs to other editable formats such as Microsoft Word, Excel, PowerPoint in Reader, exported documents will appear in the home screen's Outbox section. You can open the exported documents in other iOS editing apps or email them so that you or others can edit the contents (e.g. change text, add or delete paragraphs, etc.) on a Mac/Windows desktop computer.
You may want to subscribe to this service when you want to change the layout and/or contents of PDF documents or make scanned text editable.
Adobe PDFPack
Once you convert Microsoft Office documents or images to PDFs in Reader, resultant PDFs will appear in the home screen's Outbox section.
You may want to subscribe to this service when you want to create a resume or newsletters, for example, in the PDF format.
Please see Help > Handbook > Acrobat.com and the Cloud for more details.
If you have any other questions about subscription services, you can visit the forums to get answers.
The Acrobat.com forum
The Adobe ExportPDF forum
The Adobe PDFPack forum -
Writing a java program for generating .pdf file with the data of MS-Excel .
Hi all,
My object is write a java program so tht...it'll generate the .pdf file after retriving the data from MS-Excel file.
I used POI HSSF to read the data from MS-Excel and used iText to generate .pdf file:
My Program is:
* Created on Apr 13, 2005
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
package forums;
import java.io.*;
import java.awt.Color;
import com.lowagie.text.*;
import com.lowagie.text.pdf.*;
import com.lowagie.text.Font.*;
import com.lowagie.text.pdf.MultiColumnText;
import com.lowagie.text.Phrase.*;
import net.sf.hibernate.mapping.Array;
import org.apache.poi.hssf.*;
import org.apache.poi.poifs.filesystem.*;
import org.apache.poi.hssf.usermodel.*;
import com.lowagie.text.Phrase.*;
import java.util.Iterator;
* Generates a simple 'Hello World' PDF file.
* @author blowagie
public class pdfgenerator {
* Generates a PDF file with the text 'Hello World'
* @param args no arguments needed here
public static void main(String[] args) {
System.out.println("Hello World");
Rectangle pageSize = new Rectangle(916, 1592);
pageSize.setBackgroundColor(new java.awt.Color(0xFF, 0xFF, 0xDE));
// step 1: creation of a document-object
//Document document = new Document(pageSize);
Document document = new Document(pageSize, 132, 164, 108, 108);
try {
// step 2:
// we create a writer that listens to the document
// and directs a PDF-stream to a file
PdfWriter writer =PdfWriter.getInstance(document,new FileOutputStream("c:\\weeklystatus.pdf"));
writer.setEncryption(PdfWriter.STRENGTH128BITS, "Hello", "World", PdfWriter.AllowCopy | PdfWriter.AllowPrinting);
// step 3: we open the document
document.open();
Paragraph paragraph = new Paragraph("",new Font(Font.TIMES_ROMAN, 13, Font.BOLDITALIC, new Color(0, 0, 255)));
POIFSFileSystem pofilesystem=new POIFSFileSystem(new FileInputStream("D:\\ESM\\plans\\weekly report(31-01..04-02).xls"));
HSSFWorkbook hbook=new HSSFWorkbook(pofilesystem);
HSSFSheet hsheet=hbook.getSheetAt(0);//.createSheet();
Iterator rows = hsheet.rowIterator();
while( rows.hasNext() ) {
Phrase phrase=new Phrase();
HSSFRow row = (HSSFRow) rows.next();
//System.out.println( "Row #" + row.getRowNum());
// Iterate over each cell in the row and print out the cell's content
Iterator cells = row.cellIterator();
while( cells.hasNext() ) {
HSSFCell cell = (HSSFCell) cells.next();
//System.out.println( "Cell #" + cell.getCellNum() );
switch ( cell.getCellType() ) {
case HSSFCell.CELL_TYPE_STRING:
String stringcell=cell.getStringCellValue ()+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(stringcell);
// document.add(new Phrase(string));
System.out.print( cell.getStringCellValue () );
break;
case HSSFCell.CELL_TYPE_FORMULA:
String stringdate=cell.getCellFormula()+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(stringdate);
System.out.print( cell.getCellFormula() );
break;
case HSSFCell.CELL_TYPE_NUMERIC:
String string=String.valueOf(cell.getNumericCellValue())+" ";
writer.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
phrase.add(string);
System.out.print( cell.getNumericCellValue() );
break;
default:
//System.out.println( "unsuported sell type" );
break;
document.add(new Paragraph(phrase));
document.add(new Paragraph("\n \n \n"));
// step 4: we add a paragraph to the document
} catch (DocumentException de) {
System.err.println(de.getMessage());
} catch (IOException ioe) {
System.err.println(ioe.getMessage());
// step 5: we close the document
document.close();
My Input from MS-Excel file is:
Planning and Tracking Template for Interns
Name of the Intern N.Kesavulu Reddy
Project Name Enterprise Sales and Marketing
Description Estimated Effort in Hrs Planned/Replanned Actual Actual Effort in Hrs Complexity Priority LOC written new & modified % work completion Status Rework Remarks
S.No Start Date End Date Start Date End Date
1 setup the configuration 31/01/2005 1/2/2005 31/01/2005 1/2/2005
2 Deploying an application through Tapestry, Spring, Hibernate 2/2/2005 2/2/2005 2/2/2005 2/2/2005
3 Gone through Componentization and Cxprice application 3/2/2005 3/2/2005 3/2/2005 3/2/2005
4 Attend the sessions(tapestry,spring, hibernate), QBA 4/2/2005 4/2/2005 4/2/2005 4/2/2005
The o/p I'm gettint in .pdf file is:
Planning and Tracking Template for Interns
N.Kesavulu Reddy Name of the Intern
Enterprise Sales and Marketing Project Name
Remarks Rework Status % work completion LOC written new & modified Priority
Complexity Actual Effort in Hrs Actual Planned/Replanned Estimated Effort in Hrs Description
End Date Start Date End Date Start Date S.No
38354.0 31/01/2005 38354.0 31/01/2005 setup the configuration 1.0
38385.0 38385.0 38385.0 38385.0 Deploying an application through Tapestry, Spring, Hibernate
2.0
38413.0 38413.0 38413.0 38413.0 Gone through Componentization and Cxprice application
3.0
38444.0 38444.0 38444.0 38444.0 Attend the sessions(tapestry,spring, hibernate), QBA 4.0
The issues i'm facing are:
When it is reading a row from MS-Excel it is writing to the .pdf file from last cell to first cell.( 2 cell in 1 place, 1 cell in 2 place like if the row has two cells with data as : Name of the Intern: Kesavulu Reddy then it is writing to the .pdf file as Kesavulu Reddy Name of Intern)
and the second issue is:
It is not recognizing the date format..it is recognizing the date in first row only......
Plz Tell me wht is the solution for this...
Regards
[email protected]Don't double post your question:
http://forum.java.sun.com/thread.jspa?threadID=617605&messageID=3450899#3450899
/Kaj -
I manage a set of documents which are edited in Word but "published" as PDFs (using Word 2010's save to PDF capability).
I want to create a library for them on SharePoint (my company has SharePoint Online via its Office 365 subscription).
I'm pretty much a SharePoint novice but even I can see it's easy to upload the documents to a simple library. The things that are giving me a headache are:
Can I tell SharePoint what the version number of the uploaded PDF document is? The version number as understood by the library needs to match the version number written into the document (where it is called a revision number and increments in whole numbers
starting from zero).
How do I handle replacing the uploaded PDF documents with new versions? If they were Word documents I could edit them by opening them from the SharePoint library, checking them out if necessary, and SharePoint would handle version control.
But since the PDFs are generated from editable masters (Word documents) which are NOT on SharePoint I would need to edit the local Word document on my PC then generate a PDF version then upload it to replace the existing PDF document in the
library. Is it easy to upload a new document over the top of an old in a SharePoint library?
Hoping someone can give me some answers.
Regards,
Bruce Officerhi Bruce,
1. It sounds like what you need is to set the starting version number since your revision number increments in whole numbers, it would match up to SharePoint once the starting version number is set. You can potentially create a new custom field in the
library to manually track the version of the uploaded PDF document, but this might not match up with SharePoint's own version number and could get confusing. Another possibility is to upload dummy versions of the PDF document until the SP version
matches with the revision version and then delete these dummy versions.
2. When you upload the PDF document again into the library, it should prompt you to see if you want to replace the existing. If you proceed with the upload, it should replace and increment the SharePoint version number.
Please Mark Answered if my reply solves your problem. Thanks!
Jeff Thai
Technical Solutions Architect, AvePoint
http://www.AvePoint.com -
How to open a pdf file with command in WebBrowser control?
Installed acrobat 6 or7 in my PC, then I load a WebBrowser control in IE to open a local pdf file with command line, such as "Page=3", and then open the same pdf file with WebBrowser control in other IE process, I found the command will affect other open and show operations in webbrowser. is it normal? That is to say, When i set command "Page=3", the second time WebBrowser still open pdf with command "Page=3",I think it is bad.
Hello:
Thanks for your reply. I installed Acrobat6.0 or 7.0 in my PC, then i load a WebBrowser Control in IE by Html, then open local pdf with different command by running IE. We can get the command in this website: http://partners.adobe.com/public/developer/en/acrobat/PDFOpenParameters.pdf
First:open local pdf with command : oWebBrowser.Navigate("G:
PDF
07000001.pdf#Page=3&Pagemode=thumbs", null, null, null, null);
Second:Open the same local pdf with no command: oWebBrowser.Navigate("G:
PDF
07000001.pdf", null, null, null, null)
【Result】The first command "#Page=3&Pagemode=thumbs" will effect the way of showing pdf when second open. But, the phenomenon will not appear in Acrobat 8.0, 9.0, 10.0. -
Hi All,
I apologize if this has already been discussed, but I probably cannot guess the right search string to find the relevant thread.
I've recently upgraded from FM6 Mac to FM9 Win. My old FM6 documents have two kinds of problems in FM9:
1) replaced fonts horizontally scaled to 80%
2) colors looking good on the display, but bad when converted to PDF
As for issue #1, I couldn't do other than editing all the paragraph styles. But eventually I could solve it in a way or the other.
But issue #2, I cannot seem to come to an end with it. The original color was a Pantone swatch, that I can also find in the Win version of FM. In fact, when opening the FM file, it looks at it used to do on the Mac.
However, either I save as PDF from the File > Save to PDF menu command, or print a file using the PDF driver (with the Press Quality selected), the resulting color is wrong. What used to be a Grey-Blue Pantone 191-7, is now some sort of Cyan. Tones change slightly whether I convert using the Print > Do not save file trick, or use Acrobat Distiller 8 on the Mac with different settings; but the original color is never reproduced.
Oddly, an EPS file in the same FM file looks perfectly good - the original color is there. What a contrast with the oddly-colored text and lines in the remaining parts of the document!
Maybe someone has already gone through this issue, and has a solution for me. I'm literally loosing my sleep to try to solve this issue.
Thank you in advance!
PaoloPaolo Tramannoni wrote:
Obviously, before spending a considerable price for additional software, I would like to see if I can solve the problem with what I have.
Paolo,
I've done some in-depth color testing with FM9, and the results can be downloaded here: http://www.meissner-dokuteam.de/Files/Frame/colortest_fm9_p250_FM_elements_EN.pdf
In short words, for the "Save as PDF" CMYK version:
- Spot colors from imported definitions are converted to CMYK
- Spot colors from FM Pantone library are correctly output as Pantone colors *
- Spot colors in imported EPS files are always correctly output
* I was able to nail down the spot color bug: The critical element is the "Name of color" entry in the color definition dialog (below the dropdown/entry field "Name"). If there is a name, then the color will be correctly output as a pantone color. You can see this, if you define a color taken from the FM library, they all contain a "Name of color" entry. Self-defined colors or colors which came in by graphics import don't contain a name there, and are output as CMYK colors.
You can fix this behaviour, if you save your FM files as MIF, and add the required lines at the color definitions yourself. I for example used self defined spot colors, and added the lines
<ColorLibraryFamilyName `WambaSamba self-defined'>
<ColorLibraryInkName `WambaSamba Blue'>
Now even self-defined spot colors work. You can see this in this pdf: http://www.meissner-dokuteam.de/Files/Frame/colortest_fm9_p250_FM_elements_EN_MIFedit2.pdf
and download the editet MIF file (for analyzing) here: http://www.meissner-dokuteam.de/Files/Frame/colortest_fm9_p250_FM_elements_EN_MIFedit.mif. zip
One more bug, but this time in Acrobat: Spot color tints are always displayed at 100%, when you open the PDF, unless you enable Output/Overprint preview.
Regards,
Bernd
Maybe you are looking for
-
Things are even more confusing, because shortly after getting my iphone 4, I tried to update it to the newest version and the phone crashed; my husband reformatted the phone to factory settings, and in the process set up my phone with my daughter's e
-
Ok so I have downloaded some movies and music. Now for no reason there is a problem with my music and movies. I no longer have my movies or some of the music that has been downloaded on my IPod. All of these are still on my ITunes, but it is not "aut
-
For Account assigned PO - pricing procedure key accounts are not triggering
Hi For account assigned PO's only the account which I am assigning at the time of PO only hitting, and the other accounts are not hitting which should hit through my pricing procedure for the planned delivery costs condition types regards, Archu
-
Unsupported File Type - Unknown Format iDVD08
Power Mac G5 1.8 SP - Fresh OS 10.4.11 - Fresh Install iLife 08 - Fresh Install FC6 - All Appropriate Apple Software Updates. Hi Gang Still don't care as much for iDVD 08, as compared to iDVD 06. I realize there are stability improvements, but someth
-
Hi, is there any danger using a macbook pro 85w charger with my macbook which has a 60w charger and vice versa? Thanks Chris