Report font tables are R/O blobs

There is no point in modifying font tables, so mark them RO for clarity.

Change-Id: I8ddbda9ace9c5a0eeabc0c5e5f64558060b5ee69
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
This commit is contained in:
Konstantin Ritt 2014-12-29 15:18:40 +04:00
parent 6eb57b2f5f
commit 020f5c01d2

View File

@ -590,7 +590,7 @@ _hb_qt_reference_table(hb_face_t * /*face*/, hb_tag_t tag, void *user_data)
length = 0;
return hb_blob_create(const_cast<const char *>(buffer), length,
HB_MEMORY_MODE_WRITABLE,
HB_MEMORY_MODE_READONLY,
buffer, free);
}