src/providers/Azos.Media/PDF/PdfWriter.cs
/// <summary>
/// Writes PDF font into file stream
/// </summary>
/// <param name="font">PDF font</param>
Writes PDF font into file stream
Writes PDF font into file stream
internal void Write(PdfFont font)
    {
      writeBeginObject(font.ObjectId);
      writeBeginDictionary();
      writeDictionaryEntry("/Type", "/Font");
      writeDictionaryEntry("/Subtype", "/TrueType");
      writeDictionaryEntry("/Name", font.GetResourceReference());
      writeDictionaryEntry("/BaseFont", BASE_FONT_FORMAT.Args(font.Name));
      writeDictionaryEntry("/Encoding", "/WinAnsiEncoding");
      writeEndDictionary();
      writeEndObject();
    }
internal void Write ( PdfFont font ) { writeBeginObject ( font . ObjectId ) ; writeBeginDictionary ( ) ; writeDictionaryEntry ( " " , " " ) ; writeDictionaryEntry ( " " , " " ) ; writeDictionaryEntry ( " " , font . GetResourceReference ( ) ) ; writeDictionaryEntry ( " " , BASE_FONT_FORMAT . Args ( font . Name ) ) ; writeDictionaryEntry ( " " , " " ) ; writeEndDictionary ( ) ; writeEndObject ( ) ; }
Writes PDF font into file stream
Writes PDF font into file stream
font
PdfFont
None