-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cyrillic alphabet is supported? #255
Comments
Is there any error in the log that comes after what you posted? I tested the command and it works fine. Cyrillic chars are supported but a different fallback font is used since the Helvetica-Bold doesn't support them. So in your case the task will use Helvetica-Bold to write the latin chars and NotoSans to write the cyrillic part |
This is all information, now in local mode: C:\Users\user1a>c:\sejda\bin\sejda-console.bat setheaderfooter -f c:\sejda\tmp\000090229601\merge.pdf -j overwrite -o c:\sejda\tmp\000090229601\ -y TOP -x LEFT -t Helvetica-Bold -d 9 -c #CC0000 -l "Data ОПЕРАЦИИ IB1 " |
mm.. ok, and the resulting document header doesn't show cyrillic chars, correct? |
Hello. Thanks for your help. With the last versión more detail, but the result is the same: Data ???????? IB1 . This is the result for Helvetica-Bold. I have tried with Courier and I obtain Data ???????? IB1 too. C:\Users\user1a>c:\sejda\bin\sejda-console.bat setheaderfooter -f c:\sejda\tmp\000090229601\merge.pdf -j overwrite -o c:\sejda\tmp\000090229601\ -y TOP -x LEFT -t Helvetica-Bold -d 9 -c #CC0000 -l " Data ОПЕРАЦИИ IB1 " |
The same happens to me. In the resulting document ?????? ?????? is shown instead the russian characters. It seems it doesn´t have support for UTF-8 in windows. |
It seems to be a java problem passing the arguments to the main function. |
You could try to use the solution in #229 where we workaround another Windows OS limitation for the command line arguments length. In a nutshell, create a file that contains the cli arguments, filename ending in Example: The assumption is that you will be able to correctly pass the characters in UTF-8 encoding this way. |
With the args.txt file works fine but it would be nice if we could pass the Cyrillic text in the command argument |
I agree |
I send to sejda-console, setheaderfooter option, a label with latin and cyrillic characters and I obtain "?" symbols instead cyrillic characters. Latin characters are ok.
Example:
\Sejda\bin\sejda-console.bat setheaderfooter -f \Sejda\tmp\000090229601\merge.pdf -j overwrite -o \Sejda\tmp\000090229601\ -y TOP -x LEFT -t Helvetica-Bold -d 9 -c #CC0000 -l " Data ОПЕРАЦИИ IB1 "
In the sejda scrip I read:
C:\Users\usr1>\Sejda\bin\sejda-console.bat setheaderfooter -f \Sejda\tmp\000090229601\merge.pdf -j overwrite -o \Sejda\tmp\000090229601\ -y TOP -x LEFT -t Helvetica-Bold -d 9 -c #CC0000 -l " Data ???????? IB1 "
Configuring Sejda 2.6.3
Loading Sejda configuration form default sejda.xml
Starting execution with arguments: 'setheaderfooter -f \Sejda\tmp\000090229601\merge.pdf -j overwrite -o \Sejda\tmp\000090229601\ -y TOP -x LEFT -t Helvetica-Bold -d 9 -c #CC0000 -l Data ???????? IB1 '
Java version: '1.8.0_60'
Thanks.
The text was updated successfully, but these errors were encountered: