Klavs Benislavskis
Klavs Benislavskis
@primo-ppcg there is no such package  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...
Thanks!