Klavs Benislavskis

Results 6 comments of Klavs Benislavskis

@primo-ppcg there is no such package ![image](https://github.com/BinaryKits/BinaryKits.Zpl/assets/72247119/721c49a6-36a9-4f4a-8cab-41f48e69f764) I tried already with HarfBuzzSharp.NativeAssets.Win32 and HarfBuzzSharp.NativeAssets.WebAssembly

@primo-ppcg tried this but half of the label is missing and for some bar codes, there is an error. I don't think it is that simple to replace those 4...

Also switching to server core image doesnt help > @primo-ppcg tried this but half of the label is missing and for some bar codes, there is an error. I don't...

Fixed for server core by adding on startup ``` BinaryKits.Zpl.Viewer.ElementDrawers.DrawerOptions.DefaultFontLoader = fontName => { var typeface = SkiaSharp.SKTypeface.Default; typeface = SkiaSharp.SKTypeface.FromFile("C:\\app\\fonts\\ARIAL.TTF"); return typeface; }; ``` For nano servers kinda fixed...

Thanks, works on nano server. For someone in future you also need to add this dll from server core `COPY --from=servercore /Windows/System32/DWrite.dll /Windows/System32/DWrite.dll ` and in startup add default fonts...