Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9073495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:25:49+00:00 2026-06-16T18:25:49+00:00

We use ABCpdf software, and recently added a Russian translation option for some of

  • 0

We use ABCpdf software, and recently added a Russian translation option for some of our documents. Most of the contents of the PDF come from a web page using the AddImageURL method. This all works fine, meaning that the Russian text is readable.

However, we have a few text sections that need to be placed exactly at the bottom of the page, so we do this with ABCpdf’s AddText method. These strings show up as ???????? in the generated PDF.

Here’s a quick code sample:

Doc pdfDoc = new Doc();
//snip snip snip...

//add footer text
pdfDoc.Rect.SetRect(30, 30, 552, 10);  //footer section
pdfDoc.HPos = 0; //set horizontal position to left
pdfDoc.AddText(GetRussianString("REFERENCE") + " #" + ReferenceID);

After reading the documentation on Websupergoo’s site, I tried using AddFont and EmbedFont (separately and together), but this did not work:

pdfDoc.Font = pdfDoc.EmbedFont("Times-Roman", LanguageType.Unicode);

I also searched for ways to set encoding at the document level, and didn’t find any documentation on this, at least not for version 8. We are currently using 8.11.2 of the ABCpdf software.

Has anybody done something like this successfully?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:25:52+00:00Added an answer on June 16, 2026 at 6:25 pm

    OK, the (totally embarrassing) answer is that I was being far too literal about the example from WebSuperGoo’s site. I needed to use the exact font name from my development/production machine.

    pdfDoc.Font = pdfDoc.EmbedFont("Times New Roman", LanguageType.Unicode);
    

    Obvious? Yes. But it’s one of things that can be overlooked when in a hurry, so I’ll post the answer here in case anybody else gets tripped up.

    Part of my confusion stemmed from the fact that Russian text added from a URL was just fine in the document, but not the content added as text. I’m guessing that abcPDF sets the font according to the encoding it gets from the web page, but that affects only the content it is pulling in, not the overall PDF.

    Anyhow, thanks to gekannt and anybody else who took a look.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How to use the ABCPdf.NET tool to extract the content texts from a PDF
We use ABCPDF to convert a HTMl page to a PDF. Everything works fine,
We're using ABCPDF.Net 8 to generate PDF documents for users. The HTML source is
I'm trying to update my (previously working) pdf-creating web application to use the ABCpdf.NET
Use Case: I have some repo on GitHub, someone forked it and added new
I use ABCPDF v8.1.1.1 on win7 x32 with .net 4.0. When I tried to
Can anyone recommend some ASP.NET-compatible PDF Components that work in a medium trust environment?
Currently I have some xml documents which are converted via xsl into html. The
I have an old site ( www.example.com ) with approximately 2000 documents (PDF, Word
Use case: we have some project meta-data files which we want tracked, but are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.