| Commit-Queue | +1 |
FPDFText_GetCharBox(textpage.get(), 2, &left, &right, &top, &bottom));Order is messed up here...
VerifySidesExact(
{63.439998626708984, 65.360000610351562, 50, 61.520000457763672},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 1, &left, &right, &top, &bottom));
VerifySidesExact({62.007999420166016, 62.007999420166016, 50.0, 50.0},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 2, &left, &right, &top, &bottom));
VerifySidesExact({86.0, 88.400001525878906, 50.240001678466797, 50.0},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 3, &left, &right, &top, &bottom));
VerifySidesExact({86.010002136230469, 86.010002136230469, 50.0, 50.0},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 4, &left, &right, &top, &bottom));
VerifySidesExact(
{99.44000244140625, 101.36000061035156, 61.520000457763672, 50.0},
{left, right, bottom, top});And all of these
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hey guys - more helper functions here as well, I think since this method is already common across 2 (presumably more) files might be worth adding rect and side comparison helpers to testing/embedder_test.cpp perhaps.
FPDFText_GetCharBox(textpage.get(), 2, &left, &right, &top, &bottom));Order is messed up here...
Done
VerifySidesExact(
{63.439998626708984, 65.360000610351562, 50, 61.520000457763672},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 1, &left, &right, &top, &bottom));
VerifySidesExact({62.007999420166016, 62.007999420166016, 50.0, 50.0},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 2, &left, &right, &top, &bottom));
VerifySidesExact({86.0, 88.400001525878906, 50.240001678466797, 50.0},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 3, &left, &right, &top, &bottom));
VerifySidesExact({86.010002136230469, 86.010002136230469, 50.0, 50.0},
{left, right, bottom, top});
ASSERT_TRUE(
FPDFText_GetCharBox(text_page.get(), 4, &left, &right, &top, &bottom));
VerifySidesExact(
{99.44000244140625, 101.36000061035156, 61.520000457763672, 50.0},
{left, right, bottom, top});Aryan KrishnanAnd all of these
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
struct Sides {Had writers block while naming this - any suggestions?
Also thoughts on template initialisation with the next struct?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |