Skip to content
  • Behdad Esfahbod's avatar
    [ft] Fix color font loading on big-endian systems · f3515954
    Behdad Esfahbod authored
    Untested, but the logic is correct: FreeType's BGRA type is always
    laid out in that order in memory.  Cairo's ARGB32 is endianness-
    dependent.  On little-endian systems the two are the same.  On big-endian
    we need to flip.
    f3515954