File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,8 +105,8 @@ writer!(Type3Font: |obj| {
105105
106106impl < ' a > Type3Font < ' a > {
107107 /// Write the `/Name` attribute, which is the name of the font in the
108- /// current resource dictionary. Required in PDF 1.0, discouraged in PDF
109- /// 1.1+ .
108+ /// current resource dictionary. Always required in PDF 1.0, required if
109+ /// `FontName` is set in child font descriptor .
110110 pub fn name ( & mut self , name : Name ) -> & mut Self {
111111 self . pair ( Name ( b"Name" ) , name) ;
112112 self
@@ -443,7 +443,7 @@ writer!(FontDescriptor: |obj| {
443443} ) ;
444444
445445impl < ' a > FontDescriptor < ' a > {
446- /// Write the `/FontName` attribute. Required.
446+ /// Write the `/FontName` attribute. Required, except for Type 3 fonts .
447447 pub fn name ( & mut self , name : Name ) -> & mut Self {
448448 self . pair ( Name ( b"FontName" ) , name) ;
449449 self
You can’t perform that action at this time.
0 commit comments