Thank you. But I need the right name for method FontByIndex. Now I've commented the part of code with this method and it seems to work, but also it seems not very correct to comment it.
This part of code is reached when 1C server is running on linux.
Code
For Acc = 0 To ExternalComponent.NumberOfFonts -1 Do
// Get next font, available for component
CurrentFont = ExternalComponent.FontByIndex(Acc);
// If font is available
If CurrentFont <> Undefined Then
// It'll be the font for generating bar-code
ExternalComponent.Font = CurrentFont;
Break;
EndIf;
EndDo;
Hello, Mikhail! I'm checking this out and will provide more information when it will be available. As a quick fix, try to use Helvetica instead of Tahoma font for Linux OS.
Rating:
27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.
Hi Mikhail Ivanenko,
Is it necessary define font exactly? In linux os and in win. font libraries are different. If it's not necessary to set font my suggestion pass over it as I do.