speedata / publisher

speedata Publisher - a professional database Publishing system

Home Page:https://www.speedata.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

metapost: gray to rgb conversion

pgundlach opened this issue · comments

<Layout xmlns="urn:speedata.de:2009/publisher/en"
    xmlns:sd="urn:speedata:2009/publisher/functions/en">
    <DefineColor name="mygray" model="gray" g="23" />
    <DefineGraphic name="mp">
        drawoptions(withcolor colors.mygray);
        fill box;
    </DefineGraphic>

    <Record element="data">
        <PlaceObject>
            <Box height="5" width="5" graphic="mp" />
        </PlaceObject>
    </Record>
</Layout>

this color gets converted to RGB, this should be gray.