mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Font subsetting: Preserve all OpenType features. This makes subset font files larger but ensures there is no visual degradation when using the subsetted font files.
This commit is contained in:
parent
a1d86860ac
commit
1ec3081828
@ -15,6 +15,7 @@ def subset(input_file_object_or_path, output_file_object_or_path, container_type
|
||||
log.addHandler(log_handler)
|
||||
try:
|
||||
s = Subsetter()
|
||||
s.options.layout_features.append('*')
|
||||
s.options.recommended_glyphs = True
|
||||
container_type = container_type.lower()
|
||||
if 'woff' in container_type:
|
||||
|
Loading…
x
Reference in New Issue
Block a user