[PATCH v3 3/5] server: Use the ratio struct for DPI values.