fpdftext_embeddertest.cpp | 37 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); local 38 EXPECT_NE(nullptr, textpage); 45 int num_chars = FPDFText_GetText(textpage, 0, 128, fixed_buffer); 51 EXPECT_EQ(sizeof(expected) - 1, FPDFText_CountChars(textpage)); 54 FPDFText_GetUnicode(textpage, i)) 58 EXPECT_EQ(12.0, FPDFText_GetFontSize(textpage, 0)); 59 EXPECT_EQ(16.0, FPDFText_GetFontSize(textpage, 15)); 65 FPDFText_GetCharBox(textpage, 4, &left, &right, &bottom, &top); 71 EXPECT_EQ(4, FPDFText_GetCharIndexAtPos(textpage, 42.0, 50.0, 1.0, 1.0)); 72 EXPECT_EQ(-1, FPDFText_GetCharIndexAtPos(textpage, 0.0, 0.0, 1.0, 1.0)) 145 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); local 256 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); local 269 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); local 377 FPDF_TEXTPAGE textpage = FPDFText_LoadPage(page); local [all...] |