← Back to team overview

openerp-chinese-team team mailing list archive

Re: [Merge] lp:~openerp-chinese-team/openobject-server/V6 into lp:openobject-server

 

Thank you for your prompt reply.

> But, may I suggest the alternative to just register the font once, (with its 
> unique name), like l10n_ch does, wouldn't that solve the problem, too?

Sorry, I don't quite understand this. In current code, as long as the tag '/docinit/registerFont' in rml and/or SetCustomFonts in customfonts module involved, those fonts will be re-registered at every report parsing time, and thus impact the report process performance  . My changes is just simple to ensure that the registered font won't be re-registered, no matter what the font it is. 

-- 
https://code.launchpad.net/~openerp-chinese-team/openobject-server/V6/+merge/44193
Your team Open ERP Chinese is subscribed to branch lp:~openerp-chinese-team/openobject-server/V6.



Follow ups

References