Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On 06/05/13 12:46, Noel Grandin wrote:
Hi

Looking at the code in

   vcl/generic/fontmanager/fontmanager.cxx

at line 2877, something like this (simplified)

   bool PrintFontManager::readOverrideMetrics()
   {
           getProcessServiceFactory()->createInstance( 
"com.sun.star.psprint.CompatMetricOverride" ),

But I do not find this service anywhere in the codebase.

It appears to have been introduced in this commit:
    commit 01cf481111436df2cc3f01d1c57cc4348fc037ef
    Author: Kurt Zenker <kz@openoffice.org>
    Date:   Wed Jun 20 09:07:44 2007 +0000
        INTEGRATION: CWS compmetric (1.77.2); FILE MERGED
        2007/05/09 16:27:46 pl 1.77.2.2: #146890# algorithm is needed
        2007/05/09 12:13:59 pl 1.77.2.1: #146890# backwards 
compatibility service for metrics

But the commit did not introduce the associated service.

aha... the requested interface is XMaterialHolder... that is strong hint
that some really ugly hack is taking place... i would not be surprised
if the other end of that hack was in the Sun internal repository
(StarOffice only) and this "feature" is really something we don't want
to maintain at all and was just implemented for one particular customer
back in the day or something like that.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.