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_; |