blob: 9168c8f966742061c9fb69b7cfc517d017ccd7cd [file] [log] [blame]
Daniel Hosseinian7b57a422019-06-11 23:52:321// Copyright 2019 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Daniel Hosseinian31c9fde2019-06-25 20:32:385#include "printing/common/printing_features.h"
Daniel Hosseinian7b57a422019-06-11 23:52:326
7namespace printing {
8namespace features {
9
10const base::Feature kHarfBuzzPDFSubsetter{"HarfBuzzPDFSubsetter",
Daniel Hosseinianbb08347e2019-09-30 21:37:1011 base::FEATURE_ENABLED_BY_DEFAULT};
Daniel Hosseinian7b57a422019-06-11 23:52:3212
Alan Screenc0060762019-11-22 17:52:0613#if defined(OS_WIN)
14// Use XPS for printing instead of GDI.
15const base::Feature kUseXpsForPrinting{"UseXpsForPrinting",
16 base::FEATURE_DISABLED_BY_DEFAULT};
Alan Screen49388112019-12-13 23:34:2117
18// Use XPS for printing instead of GDI for printing PDF documents. This is
19// independent of |kUseXpsForPrinting|; can use XPS for PDFs even if still using
20// GDI for modifiable content.
21const base::Feature kUseXpsForPrintingFromPdf{
22 "UseXpsForPrintingFromPdf", base::FEATURE_DISABLED_BY_DEFAULT};
Alan Screenc0060762019-11-22 17:52:0623#endif
24
Daniel Hosseinian7b57a422019-06-11 23:52:3225} // namespace features
26} // namespace printing