[Libreoffice-bugs] [Bug 55459] [EMF] FILEOPEN Missing hatch pattern and wrong text fonts

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Aug 14 20:46:03 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=55459

--- Comment #16 from Chris Sherlock <chris.sherlock79 at gmail.com> ---
This is because we haven’t implemented brush patterns.

See
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-emfplus/ffb875ee-9713-4356-a869-5e4dc4ea4afa

The hatch styles are here:
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-emfplus/ac72d44f-1ec9-401b-82d6-f16c8e84134d

typedef  enum 
 {
   HatchStyleHorizontal = 0x00000000,
   HatchStyleVertical = 0x00000001,
   HatchStyleForwardDiagonal = 0x00000002,
   HatchStyleBackwardDiagonal = 0x00000003,
   HatchStyleLargeGrid = 0x00000004,
   HatchStyleDiagonalCross = 0x00000005,
   HatchStyle05Percent = 0x00000006,
   HatchStyle10Percent = 0x00000007,
   HatchStyle20Percent = 0x00000008,
   HatchStyle25Percent = 0x00000009,
   HatchStyle30Percent = 0x0000000A,
   HatchStyle40Percent = 0x0000000B,
   HatchStyle50Percent = 0x0000000C,
   HatchStyle60Percent = 0x0000000D,
   HatchStyle70Percent = 0x0000000E,
   HatchStyle75Percent = 0x0000000F,
   HatchStyle80Percent = 0x00000010,
   HatchStyle90Percent = 0x00000011,
   HatchStyleLightDownwardDiagonal = 0x00000012,
   HatchStyleLightUpwardDiagonal = 0x00000013,
   HatchStyleDarkDownwardDiagonal = 0x00000014,
   HatchStyleDarkUpwardDiagonal = 0x00000015,
   HatchStyleWideDownwardDiagonal = 0x00000016,
   HatchStyleWideUpwardDiagonal = 0x00000017,
   HatchStyleLightVertical = 0x00000018,
   HatchStyleLightHorizontal = 0x00000019,
   HatchStyleNarrowVertical = 0x0000001A,
   HatchStyleNarrowHorizontal = 0x0000001B,
   HatchStyleDarkVertical = 0x0000001C,
   HatchStyleDarkHorizontal = 0x0000001D,
   HatchStyleDashedDownwardDiagonal = 0x0000001E,
   HatchStyleDashedUpwardDiagonal = 0x0000001F,
   HatchStyleDashedHorizontal = 0x00000020,
   HatchStyleDashedVertical = 0x00000021,
   HatchStyleSmallConfetti = 0x00000022,
   HatchStyleLargeConfetti = 0x00000023,
   HatchStyleZigZag = 0x00000024,
   HatchStyleWave = 0x00000025,
   HatchStyleDiagonalBrick = 0x00000026,
   HatchStyleHorizontalBrick = 0x00000027,
   HatchStyleWeave = 0x00000028,
   HatchStylePlaid = 0x00000029,
   HatchStyleDivot = 0x0000002A,
   HatchStyleDottedGrid = 0x0000002B,
   HatchStyleDottedDiamond = 0x0000002C,
   HatchStyleShingle = 0x0000002D,
   HatchStyleTrellis = 0x0000002E,
   HatchStyleSphere = 0x0000002F,
   HatchStyleSmallGrid = 0x00000030,
   HatchStyleSmallCheckerBoard = 0x00000031,
   HatchStyleLargeCheckerBoard = 0x00000032,
   HatchStyleOutlinedDiamond = 0x00000033,
   HatchStyleSolidDiamond = 0x00000034
 } HatchStyle;

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210814/41450fc6/attachment.htm>


More information about the Libreoffice-bugs mailing list