Difference in pdf conversion with and without container

%3CLINGO-SUB%20id%3D%22lingo-sub-2242917%22%20slang%3D%22en-US%22%3EDifference%20in%20pdf%20conversion%20with%20and%20without%20container%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2242917%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%3CSPAN%20class%3D%22%22%3EHi%20I%20use%20a%20containerized%20office%20to%20convert%20pdf.%20And%20I%20noticed%20that%20the%20conversion%20result%20is%20different%20than%20what%20is%20installed%20natively%20on%20windows%2010.%20For%20this%20it%20uses%20the%20interface%20in%20C%20%23.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdotnet%2Fapi%2Fmicrosoft.office.interop.word.document%3Fview%3Dword-pia%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fdotnet%2Fapi%2Fmicrosoft.office.interop.word.document%3Fview%3Dword-pia%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20class%3D%22%22%3E%3CSPAN%3EThe%20bugs%20I%20found%20%3C%2FSPAN%3E%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSPAN%3EAlthough%20the%20fonts%20are%20placed%20in%20the%20C%3A%20%5C%20Windows%20%5C%20Fonts%20directory%2C%20a%20different%20font%20is%20used%20for%20the%20conversion%20%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EChanged%20the%20distance%20between%20letters%20%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3EChanged%20the%20size%20of%20letters%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EDoes%20anyone%20know%20what%20this%20is%20caused%20by%3F%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

Hi I use a containerized office to convert pdf. And I noticed that the conversion result is different than what is installed natively on windows 10. For this it uses the interface in C #. https://docs.microsoft.com/en-us/dotnet/api/microsoft.office.interop.word.document?view=word-pia

The bugs I found

  • Although the fonts are placed in the C: \ Windows \ Fonts directory, a different font is used for the conversion
  • Changed the distance between letters
  • Changed the size of letters

    Does anyone know what this is caused by?
0 Replies