vcl/unx/generic/glyphs/freetype_glyphcache.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit d5702c96a4f3e75226453e2371b2f3b71c875cbd
Author:     Noel Grandin <[email protected]>
AuthorDate: Wed Jan 7 10:53:29 2026 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Thu Jan 8 21:18:41 2026 +0100

    nDefaultPrioEmbedded is dead
    
    since
      commit dabedcaf27b0af1e38a611b8d8e48444f848e01d
      Author: Noel Grandin <[email protected]>
      Date:   Sun Jul 23 16:27:45 2023 +0200
      loplugin:unusedfields
    
    Change-Id: Ia29d25b4d5f25434b10d0236744290e31fa893f0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196662
    Reviewed-by: Noel Grandin <[email protected]>
    Tested-by: Jenkins

diff --git a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx 
b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
index 39c2c784b3b1..02c452d11a99 100644
--- a/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
+++ b/vcl/unx/generic/glyphs/freetype_glyphcache.cxx
@@ -69,7 +69,6 @@ static FT_Library aLibFT = nullptr;
 // if (AA prio <= AH prio) => antialias + autohint
 // if (AH<AA) => do not autohint when antialiasing
 // if (EB<AH) => do not autohint for monochrome
-static int nDefaultPrioEmbedded    = 2;
 static int nDefaultPrioAntiAlias   = 1;
 
 FreetypeFontFile::FreetypeFontFile( OString aNativeFileName )
@@ -248,9 +247,6 @@ void FreetypeManager::InitFreetype()
 
     // TODO: remove when the priorities are selected by UI
     char* pEnv;
-    pEnv = ::getenv( "SAL_EMBEDDED_BITMAP_PRIORITY" );
-    if( pEnv )
-        nDefaultPrioEmbedded  = pEnv[0] - '0';
     pEnv = ::getenv( "SAL_ANTIALIASED_TEXT_PRIORITY" );
     if( pEnv )
         nDefaultPrioAntiAlias = pEnv[0] - '0';

Reply via email to