View Single Post
Old 05-14-2015, 09:54 AM   #22
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,939
Karma: 6361444
Join Date: Nov 2009
Device: many
Hi,

Yes, DiapDealer is correct. Calling the wrapper routines directly in your plugin is NOT supported. The wrapper routines are subject to change at any time. You should be using the iterators in the bookcontainer class. The bookcontainer class is the public API for the edit plugins.

Given the design uses the content.opf to derive the interface itself and tries to protect the content.opf from being incorrectly changed, directly changing the media-types will not be supported. It should not be needed if font files are added in Sigil as Sigil will assign the correct media-type.

Hope this explains things.

KevinH
KevinH is offline   Reply With Quote