Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: printing/pdf_ps_metafile_linux.h

Issue 196071: Embed fonts information into resulting PDF file for printing. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | printing/pdf_ps_metafile_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/pdf_ps_metafile_linux.h
===================================================================
--- printing/pdf_ps_metafile_linux.h (revision 25867)
+++ printing/pdf_ps_metafile_linux.h (working copy)
@@ -64,6 +64,10 @@
// Closes resulting PDF/PS file. No further rendering is allowed.
void Close();
+ // Selects the font associated with |font_id| in |context|.
+ // Return true on success.
+ static bool SelectFontById(cairo_t* context, uint32_t font_id);
+
// Returns size of PDF/PS contents stored in buffer |all_pages_|.
// This function should ONLY be called after PDF/PS file is closed.
unsigned int GetDataSize() const;
@@ -80,7 +84,7 @@
private:
// Cleans up all resources.
- void CleanUp();
+ void CleanUpAll();
FileFormat format_;
« no previous file with comments | « no previous file | printing/pdf_ps_metafile_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698